Exemple #1
0
 public Player()
 {
     Wallet    wallet    = new Wallet();
     Inventory inventory = new Inventory();
 }
Exemple #2
0
 private void PerformTransaction(Wallet wallet, double transactionAmount)
 {
     wallet.PayMoneyForItems(transactionAmount);
 }
Exemple #3
0
 public Player()
 {
     CurrentMoney     = new Wallet();
     CurrentInventory = new Inventory();
     recipe           = new Recipe();
 }
Exemple #4
0
 public Player()
 {
     inventory = new Inventory();
     wallet    = new Wallet();
 }