Exemple #1
0
 protected Vehicle(eEnergyType i_EnergyType,
                   Nullable <eFuelType> i_FuelType,
                   float i_MaximalEnergyLevel,
                   float i_MaxAirPressure,
                   int i_NumOfWheels,
                   eVehicleType i_VehicleType)
 {
     this.m_EnergyType         = i_EnergyType;
     this.m_FuelType           = i_FuelType;
     this.m_MaximalEnergyLevel = i_MaximalEnergyLevel;
     this.m_Wheels             = Wheel.GenerateGeneralWheels(i_MaxAirPressure, i_NumOfWheels);
     this.m_VehicleType        = i_VehicleType;
 }