Esempio n. 1
0
 public void printBackpack()
 {
     /*Console.WriteLine(" "+name+", you own "+numItems+" Weapons:");
      * for (int x = 0; x < numItems; x++)
      * {
      *  Console.WriteLine(" "+backpack[x].weaponName);
      * }
      * Console.WriteLine();*/
     bp.printBackpack();
 }
 public void printCharacter()
 {
     //prints player and backpack attributed
     Console.WriteLine("Name:" + name + "\nMoney:" + money);
     bp.printBackpack();
 }