예제 #1
0
 public HotelSupplier(MultiCellBuffer mCellBuffer, ConfirmationBuffer cBuffer)
 {
     roomPrice           = 1000;                         //Initialize variables
     p                   = 0;
     this.mCellBuffer    = mCellBuffer;
     this.cBuffer        = cBuffer;
     this.locationCharge = rng.Next(15, 20);             //Each  hotel Supplier has its own location charge
 }
예제 #2
0
 public TravelAgency(MultiCellBuffer mCellBuffer, ConfirmationBuffer cBuffer)
 {
     this.mCellBuffer = mCellBuffer;
     this.cBuffer     = cBuffer;
 }