Beispiel #1
0
 public void land()
 {
     if (airTrafficController.isLandingOk())
     {
         Console.WriteLine("Successfully Landed.");
         airTrafficController.setLandingStatus(true);
     }
     else
     {
         Console.WriteLine("Waiting for landing.");
     }
 }
Beispiel #2
0
 public void land()
 {
     Console.WriteLine("Landing permission granted.");
     airTrafficController.setLandingStatus(true);
 }
Beispiel #3
0
 public Runway(IAirTrafficControl atControl)
 {
     this.airTrafficController = atControl;
     atControl.setLandingStatus(true);
 }