Exemple #1
0
 public Player(string playerNumber, string playerName, int playerMoney, int playerOranges, int playerSugar, int playerIce, int playerCups, int recipieCost, int recipieOranges, int recipieSugar, int recipieIce, string recipiePulp)
 {
     number           = playerNumber;
     name             = playerName;
     currentOrangeade = new Orangeade(recipieCost, recipieOranges, recipieSugar, recipieIce, recipiePulp);
     inventory        = new Inventory(playerMoney, playerOranges, playerSugar, playerIce, playerCups);
     turnMenu         = new TurnMenu(name);
     purchaseMenu     = new PurchaseMenus();
 }
Exemple #2
0
 public Player(string playerNumber)
 {
     number = playerNumber;
     GetPlayerName();
     currentOrangeade = new Orangeade();
     inventory        = new Inventory();
     turnMenu         = new TurnMenu(name);
     purchaseMenu     = new PurchaseMenus();
 }