public ParkingLot(int numOfTerminals) { ParkingManager = new ParkingManager(); Terminals = new List <Terminal>(numOfTerminals); for (int i = 0; i < numOfTerminals; i++) { Terminals.Add(new Terminal(ParkingManager)); } }
public ParkingDirector(ParkingManager parkingManager) { this.parkingManager = parkingManager; }