public VehiclePark(int numberOfSectors, int placesPerSector) { this.layout = new ParkLayout(numberOfSectors, placesPerSector); this.data = new VehicleParkData(numberOfSectors); }
public VehicleParkCommand(int numberOfSectors, int placesPerSector) { park = new Park(numberOfSectors, placesPerSector); DATA = new DATA(numberOfSectors); }