Beispiel #1
0
        public void NewDay(int dayNum)
        {
            Day day = new Day(dayNum);

            day.GetWeather();      // new weather
            day.CreateCustomers(); // new customers
            days.Add(day);
        }
Beispiel #2
0
 public void DisplayDay()
 {
     today.GetWeather();
     Console.WriteLine("You are on day " + daysPlaying + ", todays weather is " + today.GetWeather() + " with a temperature of " + today.GetTemperature());
 }
Beispiel #3
0
 public void DisplayDay()
 {
     today.GetWeather();
     Console.WriteLine("Day " + dayCounter + "\nForecast is " + today.GetWeatherman());
 }