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); }
private void TakeoffTime() => simulatorService.TimeToSleep(3000);