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