Пример #1
0
 public void MakeLemonadeCups()
 {
     for (int index = 1; index <= GetInventoryAmount(); index++)
     {
         if (gameRecipe.GetSourTaste() == true)
         {
             gameInventory.sourLemonadeCups.Add(gameInventory.newSourLemonadeCup = new LemonadeCup());
         }
         if (gameRecipe.GetSweetTaste() == true)
         {
             gameInventory.SweetLemonadeCups.Add(gameInventory.newSweetLemonadeCup = new LemonadeCup());
         }
         if (gameRecipe.GetNuetralTaste() == true)
         {
             gameInventory.NuetralLemonadeCups.Add(gameInventory.newNuetralLemonadeCup = new LemonadeCup());
         }
     }
 }