//adds an aircraft to the object
 public void addTrainingAircraft(TrainingAircraft aircraft)
 {
     this.Aircrafts.Add(aircraft);
     this.FlightSchool.addTrainingAircraft(aircraft);
 }
 //remove an aircraft from the object
 public void removeTrainingAircraft(TrainingAircraft aircraft)
 {
     this.Aircrafts.Remove(aircraft);
     this.FlightSchool.removeTrainingAircraft(aircraft);
 }
 //removes an aircraft from the flight school
 public void removeTrainingAircraft(TrainingAircraft aircraft)
 {
     this.TrainingAircrafts.Remove(aircraft);
 }
 //adds a training aircraft to the flight school
 public void addTrainingAircraft(TrainingAircraft aircraft)
 {
     this.TrainingAircrafts.Add(aircraft);
 }
Exemple #5
0
 //adds a training aircraft to the flight school
 public void addTrainingAircraft(TrainingAircraft aircraft)
 {
     this.TrainingAircrafts.Add(aircraft);
 }
Exemple #6
0
 //removes an aircraft from the flight school
 public void removeTrainingAircraft(TrainingAircraft aircraft)
 {
     this.TrainingAircrafts.Remove(aircraft);
 }