コード例 #1
0
 internal Bike(
     eTypeOfLicence i_TypeOfLicence,
     int i_EngineVolume,
     string i_ModelName,
     string i_LicenceNumber,
     float i_PercentOfEnergyLeft,
     Energy i_EnergyType,
     List <Wheel> i_Wheels) :
     base(
         i_ModelName,
         i_LicenceNumber,
         i_PercentOfEnergyLeft,
         i_EnergyType,
         i_Wheels)
 {
     m_EngineVolume  = i_EngineVolume;
     m_TypeOfLicence = i_TypeOfLicence;
 }
コード例 #2
0
ファイル: Motorcycle.cs プロジェクト: Stavital/GarageManager
 public Motorcycle(int i_EngineVolume, eTypeOfLicence i_TypeOfLicence, string i_ModelName, List <Wheel> i_WheelList, Engine i_Engine, float i_EnergyPercent, string i_LicenseNumber, Dictionary <string, string> i_VehicleInfo) : base(i_ModelName, i_WheelList, i_Engine, i_EnergyPercent, i_LicenseNumber, i_VehicleInfo)
 {
     this.m_EngineVolume  = i_EngineVolume;
     this.m_TypeOfLicence = i_TypeOfLicence;
 }