public ElectricCar(GeneralRequest i_GlobalRequest, CarRequest i_GenericCar, float i_EnergyRemined, float i_MaxEnergyLevel) : base(i_GlobalRequest, i_GenericCar) { Engine = new Engine(FuelType.Electricity, i_EnergyRemined, i_MaxEnergyLevel); }
public LiquidFuelCar(GeneralRequest i_GeneralDetails, CarRequest i_CarDetails, float i_CurrentEnergyLevel, float i_MaxEnergyLevel) : base(i_GeneralDetails, i_CarDetails) { Engine = new Engine(FuelType.Octan96, i_CurrentEnergyLevel, i_MaxEnergyLevel); }
protected Car(GeneralRequest i_CommonDetails, CarRequest i_CarDetails) : base(i_CommonDetails) { CarColor = i_CarDetails.CarColor; NumberOfDoors = i_CarDetails.NumberOfDoors; }