예제 #1
0
 private void OnHangarArrival(Plane plane, HangarStation hangar)
 {
     AddTakeoffWaiterToList(plane);
     simulatorService.TimeToSleep(10000); //time for plane maintenance.
     simulatorService.InvokeTakeoffWaiter(plane);
     ContinueMovement(plane, hangar);
 }
 public void Land(Plane plane, LandingRunwayStation runway)
 {
     SetPlaneHistory(plane, runway);
     SetPlaneLandedProp(plane);
     simulatorService.AttachPlaneToStation(plane, runway);
     DbUpdate(plane, runway, FlightActionsEnum.Landing);
     InvokeNotifierAction(plane);
     simulatorService.TimeToSleep(1500);
 }
예제 #3
0
 private void TakeoffTime() => simulatorService.TimeToSleep(3000);