Esempio n. 1
0
 public void CanIMakePlayerRecipeLemonade()
 {
     PlayerRecipe();
     inventory.CheckSupplies();
     if (inventory.supplies == false)
     {
         Console.WriteLine("You have made " + inventory.cupsOfLemonade + " cups of Lemonade.");
     }
     else
     {
         inventory.cupsOfLemonade++;
         CanIMakePlayerRecipeLemonade();
     }
 }
 public void CanIMakePlayerRecipeLemonade(Inventory inventory)
 {
     PlayerRecipe(inventory);
     inventory.CheckSupplies();
     if (inventory.supplies == false)
     {
         UserInterface.NumberOfLemonades(inventory);
     }
     else
     {
         inventory.cupsOfLemonade++;
         CanIMakePlayerRecipeLemonade(inventory);
     }
 }