コード例 #1
0
 private static void showBackpack(Player player, Backpack bag)
 {
     player.printBackpack(bag);
 }
コード例 #2
0
 // show player details
 private static void showPlayer(Player player, Backpack bag)
 {
     player.playerDetails(bag);
 }
コード例 #3
0
 public Player(string n, double m, double mw)
 {
     name  = n;
     money = m;
     bp    = new Backpack(mw);
 }