Exemplo n.º 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);
 }
Exemplo n.º 2
0
 protected Bike(GeneralRequest i_CommonDetails, BikeRequest i_BikeDetails) : base(i_CommonDetails)
 {
     LicenceCategory = i_BikeDetails.LicenceCategory;
 }
Exemplo n.º 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);
 }