コード例 #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;
 }