Beispiel #1
0
 public AirlineCoordinator(int custIdSeed, int maxCustomers, int maxFlights)
 {
     customerMan = new CustomerManager(custIdSeed, maxCustomers);
     flightMan   = new FlightManager(maxFlights);
 }
Beispiel #2
0
 public AirlineCoordinator(int custIdSeed, int maxCustomers, int maxFlights, int bookingSeed, int maxBooking)
 {
     flightMan  = new FlightManager(maxFlights);
     customMan  = new CustomerManager(custIdSeed, maxCustomers);
     bookingMan = new BookingManager(bookingSeed, maxBooking);
 }