Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Item
- {
- public virtual void Loot()
- {
- }
- }
- public class Gold : Item
- {
- override void Loot()
- {
- player.money += 5000;
- }
- }
- public class Weapon : Item
- {
- }
- public class Sword : Weapon
- {
- }
- public class Mace : Weapon
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement