Пример #1
0
        static void Main(string[] args)
        {
            Pickaxe pickaxe = new Pickaxe(PickaxeVariety.Wood);
            Player  player  = new Player("Rasmus", true, pickaxe, 100);
            Menu    menu    = new Menu();

            menu.Scene(player);
        }
Пример #2
0
 //Constructor
 public Player(string name, bool gender, Pickaxe myPickaxe, int PlayerHealth)
 {
     Name      = name;
     IsMale    = gender;
     MyPickaxe = myPickaxe;
     Money     = Money;
     Backpack  = new List <Mineral>();
     Health    = PlayerHealth;
 }