Example #1
0
 public override AirplaneState ComputeNextState(FlightPlan flightPlan, Interfaces.AtcInstruction instruction)
 {
     // After landing the airplane just disappears from the world
     return(null);
 }
Example #2
0
 public override AirplaneState ComputeNextState(FlightPlan flightPlan, Interfaces.AtcInstruction instruction)
 {
     // Approaches are always successful, we never go missed :-)
     return(new LandedState(this.Airport));
 }