public void eventAfterQuietHour(Squad allSquads) { Console.WriteLine("17:00 - continuing the Olympics..."); BasicFunctions.wait(); Console.WriteLine("19:00 - ending the Olympics..."); BasicFunctions.gainExperience(allSquads, 300, 400); }
public override void checkDay(Squad allSquads, IFreeTimeEvent freeTimeEvent) { Console.WriteLine("08:00 - waking up..."); BasicFunctions.wait(); Console.WriteLine("08:20 - taking a toilet..."); BasicFunctions.wait(); Console.WriteLine("08:30 - training..."); BasicFunctions.wait(); Console.WriteLine("08:40 - lining up on the yard..."); BasicFunctions.wait(); Console.WriteLine("09:00 - taking a breakfast..."); BasicFunctions.wait(); Console.WriteLine("09:00 - checking the cleaning..."); BasicFunctions.wait(); BasicFunctions.gainExperience(allSquads, 0, 300); freeTimeEvent.eventPrevQuietHour(allSquads); Console.WriteLine("16:30 - taking a lunch..."); BasicFunctions.wait(); freeTimeEvent.eventAfterQuietHour(allSquads); Console.WriteLine("19:00 - taking a dinner..."); BasicFunctions.wait(); eveningStrategy.manageEvening(allSquads); BasicFunctions.wait(); Console.WriteLine("21:30 - taking the latest lunch..."); BasicFunctions.wait(); Console.WriteLine("22:00 - going to sleep..."); BasicFunctions.gainExperience(allSquads, 0, 100); Console.WriteLine("Day has finished"); }
static public void manageEveningFreeTime(Squad allSquads) { Console.WriteLine("17:00 - starting the free time..."); BasicFunctions.wait(); Console.WriteLine("19:00 - ending the free time..."); BasicFunctions.gainExperience(allSquads, 75, 100); }
public void eventPrevQuietHour(Squad allSquads) { Console.WriteLine("10:00 - starting the free time..."); BasicFunctions.wait(); Console.WriteLine("12:45 - ending the free time..."); BasicFunctions.wait(); BasicFunctions.gainExperience(allSquads, 130, 200); BasicFunctions.manageMiddayAndQuietHour(allSquads); }
public void goForATrip(Squad allSquads) { Console.WriteLine("It's a walking around the city"); BasicFunctions.wait(); Console.WriteLine("Visiting museums..."); BasicFunctions.wait(); Console.WriteLine("Spending free time..."); BasicFunctions.wait(); Console.WriteLine("Alcohol checking..."); BasicFunctions.wait(); Console.WriteLine("Returning to the camp..."); BasicFunctions.wait(); BasicFunctions.gainExperience(allSquads, 0, 500); }
static public void manageMiddayAndQuietHour(Squad allSquads) { Console.WriteLine("13:00 - taking a midday..."); BasicFunctions.wait(); Console.WriteLine("13:30 - starting the free time..."); BasicFunctions.wait(); Console.WriteLine("14:00 - ending the free time..."); Console.WriteLine("14:00 - starting a quiet hour..."); BasicFunctions.wait(); Console.WriteLine("16:00 - ending the quiet hour..."); Console.WriteLine("16:00 - waking up..."); BasicFunctions.wait(); BasicFunctions.gainExperience(allSquads, 50, 100); }
public void goForATrip(Squad allSquads) { Console.WriteLine("It's a camping in the woods"); BasicFunctions.wait(); Console.WriteLine("Collecting mushrooms..."); BasicFunctions.wait(); Console.WriteLine("Creating a small camp..."); BasicFunctions.wait(); Console.WriteLine("Cooking food..."); BasicFunctions.wait(); Console.WriteLine("Cleaning up the territory..."); BasicFunctions.wait(); Console.WriteLine("Returning to the camp..."); BasicFunctions.wait(); BasicFunctions.gainExperience(allSquads, 500, 1000); }
public void goForATrip(Squad allSquads) { Console.WriteLine("It's a hiking in the mountains"); BasicFunctions.wait(); Console.WriteLine("Camping at the foot of the mountains..."); BasicFunctions.wait(); Console.WriteLine("Listening to Vladimir Visozkii..."); BasicFunctions.wait(); Console.WriteLine("Climbing up to the top of the hill..."); BasicFunctions.wait(); Console.WriteLine("Lying down on the top of the hill..."); BasicFunctions.wait(); Console.WriteLine("Returning to the camp..."); BasicFunctions.wait(); BasicFunctions.gainExperience(allSquads, 1000, 2000); }
public override void checkDay(Squad allSquads, IFreeTimeEvent freeTimeEvent) { base.checkDay(allSquads, freeTimeEvent); Console.WriteLine("22:00 - waking up..."); BasicFunctions.wait(); Console.WriteLine("22:20 - going out..."); BasicFunctions.wait(); Console.WriteLine("23:30 - counting the children..."); BasicFunctions.wait(); Console.WriteLine("00:00 - returning to the buildings..."); BasicFunctions.wait(); Console.WriteLine("00:30 - going to sleep..."); BasicFunctions.wait(); BasicFunctions.gainExperience(allSquads, 0, 300); Console.WriteLine("Night has finished"); }
public void eventAfterQuietHour(Squad allSquads) { BasicFunctions.manageEveningFreeTime(allSquads); }
public void eventPrevQuietHour(Squad allSquads) { Console.WriteLine("10:00 - starting the Olympics..."); Console.WriteLine("12:45 - pausing the Olympics..."); BasicFunctions.manageMiddayAndQuietHour(allSquads); }
public void manageEvening(Squad allSquads) { Console.WriteLine("20:00 - having a squad meeting..."); BasicFunctions.gainExperience(allSquads, 40, 60); }
public void manageEvening(Squad allSquads) { Console.WriteLine("20:00 - going to disco..."); BasicFunctions.gainExperience(allSquads, 10, 40); }