public Motorcycle(eLicenseTypes o_LicenseType, int o_EngineVolume, EnergyType o_TypeOfEnergy, string o_ModelName, string o_LicensePlate, OwnerDetails o_MotorcycleOwner, List <Wheel> o_Wheels) : base(o_ModelName, o_LicensePlate, o_MotorcycleOwner, o_Wheels) { m_licenseType = o_LicenseType; m_engineVolume = o_EngineVolume; m_EnergyType = o_TypeOfEnergy; EnergyRatio = o_TypeOfEnergy.CalculateRatio(); }
public Car(eCarColors i_ChosenColor, eNumberOfDoors i_CarDoors, EnergyType o_TypeOfEnergy, string o_ModelName, string o_LicensePlate, OwnerDetails o_CarOwner, List <Wheel> o_Wheels) : base(o_ModelName, o_LicensePlate, o_CarOwner, o_Wheels) { m_CarColor = i_ChosenColor; m_NumberOfDoors = i_CarDoors; m_EnergyType = o_TypeOfEnergy; EnergyRatio = o_TypeOfEnergy.CalculateRatio(); }