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