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; }
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; }
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; }
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; }