Beispiel #1
0
 public LiquidFuelBike(GeneralRequest i_GeneralDetails, BikeRequest i_BikeData, float i_CurrentEnergyLevel, float i_MaxEnergyLevel)
     : base(i_GeneralDetails, i_BikeData)
 {
     Engine = new Engine(FuelType.Octan95, i_CurrentEnergyLevel, i_MaxEnergyLevel);
 }
Beispiel #2
0
 protected Bike(GeneralRequest i_CommonDetails, BikeRequest i_BikeDetails) : base(i_CommonDetails)
 {
     LicenceCategory = i_BikeDetails.LicenceCategory;
 }
Beispiel #3
0
 public ElectricBike(GeneralRequest i_GeneralData, BikeRequest i_BikeData, float i_CurrentEnergyLevel, float i_MaxEnergyLevel)
     : base(i_GeneralData, i_BikeData)
 {
     Engine = new Engine(FuelType.Electricity, i_CurrentEnergyLevel, i_MaxEnergyLevel);
 }