public Airplane Sale(Airplane airplane) { Game.Player.Pay(airplane.PriceSale); Airplanes.Add(airplane); return(airplane); }
public Airplane Buy(Airplane airplane) { Game.Player.Spent(airplane.PriceBuy); Airplanes.Remove(airplane); return(airplane); }
public void ReturnRent(Airplane airplane) { airplane.RentEnd = null; Airplanes.Add(airplane); _rent.Remove(airplane); }
public void ScheduleFlight(Flight flight, Airplane airplane, DateTime time) { Schedule.Add(flight, airplane, time); }