Esempio n. 1
0
 public void playerDetails(Backpack bp1)
 {
     Console.WriteLine("Player Name: " + name + ", Player balance: $" + money + ", Player backpack count: " + numItems);
     Console.WriteLine("Player Backpack: ");
     bp1.printWeapons();
 }
Esempio n. 2
0
 public void printBackpack(Backpack bp1)
 {
     Console.WriteLine(name + " has " + numItems + " weapons in his backpack.");
     bp1.printWeapons();
     Console.WriteLine();
 }