Пример #1
0
 public Creator(int id, int speed, int fuelConsumptionm, int price, int curbWeight, CarsControlSystemType carsControlSystemType = CarsControlSystemType.Human)
 {
     _id                    = id;
     _speed                 = speed;
     _fuelConsumption       = fuelConsumptionm;
     _price                 = price;
     _curbWeight            = curbWeight;
     _carsControlSystemType = carsControlSystemType;
 }
Пример #2
0
 public CreatorGazel(int id, int speed, int fuelConsumptionm, int price, int curbWeight, int cargo, CarsControlSystemType carsControlSystemType = CarsControlSystemType.Human)
     : base(id, speed, fuelConsumptionm, price, curbWeight, carsControlSystemType)
 {
     _cargo = cargo;
 }
Пример #3
0
 public CreatorCoupe(int id, int speed, int fuelConsumptionm, int price, int curbWeight, int numberOfPassenger, CarsControlSystemType carsControlSystemType = CarsControlSystemType.Human)
     : base(id, speed, fuelConsumptionm, price, curbWeight, carsControlSystemType)
 {
     _numberOfPassenger = numberOfPassenger;
 }
Пример #4
0
 public CreatorSedan(int id, int speed, int fuelConsumption, int price, int curbWeight, int numberOfPassenger, int cargo, CarsControlSystemType carsControlSystemType = CarsControlSystemType.Human)
     : base(id, speed, fuelConsumption, price, curbWeight, carsControlSystemType)
 {
     _numberOfPassenger = numberOfPassenger;
     _cargo             = cargo;
 }