Beispiel #1
0
 //DOES
 public void PlayGame()
 {
     GetName();
     day.DayToStart();
     GetNumberOfDays();
     DisplayForecastWeatherAndTemperatureForDurationOfGame();
     do
     {
         DisplayDayNumberAndDay();
         day.weather.CurrentWeatherAndTemperature();
         day.weather.GetNumberOfPeopleAccordingToWeather();
         DisplayActualWeatherAndTemperature();
         DisplayInventory();
         store.Sells();
         UpdateInventoryAfterStore();
         DisplayInventory();
         player.recipe.GetRecipe();
         DisplayInventory();
         SetPrice();
         DisplaySettings();
         day.GenerateListOfPeopleChances();
         player.MakePitcher();
         ConvertToBuyOrNot();
         DisplayDayOverview();
         NextDay();
     }while (day.dayCount < day.totalDayCount);
     DisplayEndOverview();
 }