public Car(eCarEnums.kindOfColor i_Color, eCarEnums.NumberOfDoors i_NumberOfDoors, string i_ModelName, string i_LicenseNumber, float i_PercentageRemainingEnergy, EnergySource i_EnergySource, int i_NumOfWheels) : base(i_ModelName, i_LicenseNumber, i_PercentageRemainingEnergy, i_EnergySource, i_NumOfWheels) { m_Color = i_Color; m_NumberOfDoors = i_NumberOfDoors; }
public Motorcycle(eLicenseType i_KindOfLicense, int iMEngineCapacity, string i_ModelName, string i_LicenseNumber, float i_PercentageRemainingEnergy, EnergySource i_EnergySource, int i_NumOfWheels) : base(i_ModelName, i_LicenseNumber, i_PercentageRemainingEnergy, i_EnergySource, i_NumOfWheels) { m_KindOfLicense = i_KindOfLicense; m_EngineCapacity = iMEngineCapacity; }
public Truck(bool i_CarryingHazardousMaterials, float i_CargoVolume, string i_ModelName, string i_LicenseNumber, float i_PercentageRemainingEnergy, EnergySource i_EnergySource, int i_NumOfWheels) : base(i_ModelName, i_LicenseNumber, i_PercentageRemainingEnergy, i_EnergySource, i_NumOfWheels) { m_CarryingHazardousMaterials = i_CarryingHazardousMaterials; m_CargoVolume = i_CargoVolume; }
public Vehicle(string i_ModelName, string i_LicenseNumber, float i_PercentageRemainingEnergy, EnergySource i_EnergySource, int i_NumOfWheels) { r_ModelName = i_ModelName; r_LicenseNumber = i_LicenseNumber; m_PercentageRemainingEnergy = i_PercentageRemainingEnergy; m_EnergySource = i_EnergySource; r_NumOfWheels = i_NumOfWheels; }
public Vehicle() { m_ModelName = string.Empty; m_LicenseNumber = string.Empty; m_EnergyPercentage = 0; m_Wheels = new List <Wheel>(); m_EnergySource = null; m_VehicleGarageStatus = eVehicleGarageStatus.InRepair; }
public Vehicle(string i_Model, string i_RegistrationNumber, int i_NumOfWheels, EnergySource i_EnergySource) { m_Model = i_Model; m_EnergySource = i_EnergySource; m_RegistrationNumber = i_RegistrationNumber; m_EnergyPercentage = 0; m_VehicleStatus = eVehicleStatus.InRepair; m_Wheels = new List <Wheel>(); setWheelsAmount(i_NumOfWheels); }
public Motorcycle(string i_Model, string i_RegistrationNumber, EnergySource i_EnergySource) : base(i_Model, i_RegistrationNumber, m_NumOfWheels, i_EnergySource) { SetWheelsMaxPressure(m_MaxAirPressure); }