Example #1
0
 public void StartGame()
 {
     UI.DisplayPlayerInstructions(player);
     for (int i = 1; i < 8; i++)
     {
         UI.DiplayWeatherConditions(day, rnd);
         day.GeneratingCustomersBasedOnWeather(rnd);
         UI.DisplayChicesToBuy(store, player);
         UI.DiplayUserIngredients(store, player);
         UI.AskForPlayerRecipe(recipe);
     }
 }
Example #2
0
 public void SettingPrice(Recipe recipe)
 {
     Console.WriteLine(" Enter the price per one cup of lemonade (between $0.5 and $4.5)");
     setPricePerCup = Double.Parse(Console.ReadLine());
     UI.AskForPlayerRecipe(recipe);
 }
Example #3
0
 public void AddingSugar(Recipe recipe)
 {
     Console.WriteLine(" How much sugar do you want to include in you lemonade? ");
     sugarsUsed = Int32.Parse(Console.ReadLine());
     UI.AskForPlayerRecipe(recipe);
 }
Example #4
0
 public void AddingLemons(Recipe recipe)
 {
     Console.WriteLine(" How many lemons do you want to include in you lemonade? ");
     lemonsUsed = Int32.Parse(Console.ReadLine());
     UI.AskForPlayerRecipe(recipe);
 }
Example #5
0
 public void AddingIceCubes(Recipe recipe)
 {
     Console.WriteLine(" How many ice cubes do you want to include in you lemonde? ");
     iceCubesUsed = Int32.Parse(Console.ReadLine());
     UI.AskForPlayerRecipe(recipe);
 }