Пример #1
0
 public ElectricMotorcycle(eLicense i_license, int i_engineVolume, VehicleInformation i_vehicleInformation, string i_wheelManufacturer) : base(i_license, i_engineVolume, i_vehicleInformation, i_wheelManufacturer)
 {
     m_ElectricEngine = new ElectricEngine(m_MaxEngineOperateHours, 0);
     // i_vehicleInformation.VehicleType = VehicleInformation.eVehicleType.ElectricMotorcycle;
 }
Пример #2
0
 public ElectricCar(eColor i_color, eCarNumberOfDoors i_numberOfDoors, VehicleInformation i_vehicleInformation, string i_wheelManufacturer) : base(i_color, i_numberOfDoors, i_vehicleInformation, i_wheelManufacturer)
 {
     m_ElectricEngine = new ElectricEngine(m_maxBatteryHours, 0);
     //i_vehicleInformation.VehicleType = VehicleInformation.eVehicleType.ElectricCar;
 }