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