コード例 #1
0
ファイル: Game.cs プロジェクト: jmdressner/lemonade_stand
 public void GenerateDay()
 {
     for (int i = 0; i < day.days.Count; i++)
     {
         Console.WriteLine("It is " + day.days[i]);
         day.weather.DisplayTemperature();
         day.weather.DisplayCondition();
         player1.budget.DisplayBalance();
         player1.ChooseRecipe();
         player1.budget.SetLemonadePrice();
         player1.inventory.CurrentInventory();
         player1.Purchases();
         day.GeneratePeople(day, player1);
         player1.budget.GenerateProfit(day);
         player1.budget.GenerateLoss(day);
         player1.budget.DisplayTotalProfit();
         player1.budget.DisplayTotalLoss();
         player1.recipe.ClearList();
         Console.Clear();
     }
 }