public Airport(int airportID, string name, Queue<Airplane> planeLandedList, Queue<AirRoute> DepartingRouteList, List<AirRoute> IncomingRouteList) { this.airportID = airportID; this.name = name; this.planeLandedList = new Queue<Airplane>(planeLandedList); this.planeQueuedList = new List<Airplane>(); this.planeDepartedList = new List<Airplane>(); this.DepartingRouteList = new Queue<AirRoute>(DepartingRouteList); this.IncomingRouteList = new List<AirRoute>(IncomingRouteList); this.slaveCallback = null; }
public Airport(int airportID, string name, Queue <Airplane> planeLandedList, Queue <AirRoute> DepartingRouteList, List <AirRoute> IncomingRouteList) { this.airportID = airportID; this.name = name; this.planeLandedList = new Queue <Airplane>(planeLandedList); this.planeQueuedList = new List <Airplane>(); this.planeDepartedList = new List <Airplane>(); this.DepartingRouteList = new Queue <AirRoute>(DepartingRouteList); this.IncomingRouteList = new List <AirRoute>(IncomingRouteList); this.slaveCallback = null; }