示例#1
0
 public ElectricMotorcycle(float i_MaxBatteryTime, Motorcycle.eMotorcycleLicenseType i_MotorcycleLicenseType, int i_EngineCapacity,
                           string i_VehicleNumber, string i_VehicleModel, int i_NumberOfWheels, string i_WheelManufacturerName, float i_MaxAllowedAirPressure)
     : base(i_MotorcycleLicenseType, i_EngineCapacity, i_VehicleNumber, i_VehicleModel, i_NumberOfWheels, i_WheelManufacturerName, i_MaxAllowedAirPressure)
 {
     this.m_Battery    = new VehicleBattery(i_MaxBatteryTime);
     this.m_EngineType = eVehicleEngineType.ElectricEngine;
 }
示例#2
0
 public ElectricCar(float i_MaxBatteryTime, Car.eCarColorOptions i_CarColor,
                    Car.eNumberOfDoors i_NumberOfDoors, string i_VehicleNumber, string i_VehicleModel, int i_NumberOfWheels, string i_WheelManufacturerName, float i_MaxAllowedAirPressure)
     : base(i_CarColor, i_NumberOfDoors, i_VehicleNumber, i_VehicleModel, i_NumberOfWheels, i_WheelManufacturerName, i_MaxAllowedAirPressure)
 {
     this.m_Battery    = new VehicleBattery(i_MaxBatteryTime);
     this.m_EngineType = eVehicleEngineType.ElectricEngine;
 }