示例#1
0
 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);
 }
示例#2
0
 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");
 }
示例#3
0
 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);
 }
示例#4
0
 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);
 }
示例#5
0
 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);
 }
示例#6
0
 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);
 }
示例#7
0
 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);
 }
示例#8
0
 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);
 }
示例#9
0
 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");
 }
示例#10
0
 public void eventAfterQuietHour(Squad allSquads)
 {
     BasicFunctions.manageEveningFreeTime(allSquads);
 }
示例#11
0
 public void eventPrevQuietHour(Squad allSquads)
 {
     Console.WriteLine("10:00 - starting the Olympics...");
     Console.WriteLine("12:45 - pausing the Olympics...");
     BasicFunctions.manageMiddayAndQuietHour(allSquads);
 }
示例#12
0
 public void manageEvening(Squad allSquads)
 {
     Console.WriteLine("20:00 - having a squad meeting...");
     BasicFunctions.gainExperience(allSquads, 40, 60);
 }
示例#13
0
 public void manageEvening(Squad allSquads)
 {
     Console.WriteLine("20:00 - going to disco...");
     BasicFunctions.gainExperience(allSquads, 10, 40);
 }