コード例 #1
0
 public FuelBasedTruck(bool i_isCooled, float i_cargoVolume, VehicleInformation i_vehicleInformation, string i_wheelManufacturer) : base(i_isCooled, i_cargoVolume, i_vehicleInformation, i_wheelManufacturer)
 {
     m_FuelEngine = new FuelEngine(m_MaxFuelAmountLiters, 0, FuelEngine.eFuelType.Octane96);
     //i_vehicleInformation.VehicleType = VehicleInformation.eVehicleType.FuelBasedTruck;
 }
コード例 #2
0
 public FuelBasedMotorcycle(eLicense i_license, int i_engineVolume, VehicleInformation i_vehicleInformation, string i_wheelManufacturer) : base(i_license, i_engineVolume, i_vehicleInformation, i_wheelManufacturer)
 {
     m_fuelEngine = new FuelEngine(m_MaxFuelAmountLiters, 0, FuelEngine.eFuelType.Octane96);
     //i_vehicleInformation.VehicleType = VehicleInformation.eVehicleType.FuelBasedMotorcycle;
 }
コード例 #3
0
ファイル: FuelBasedCar.cs プロジェクト: Jonasinbar/C-sharp-3
 public FuelBasedCar(eColor i_color, eCarNumberOfDoors i_numberOfDoors, VehicleInformation i_vehicleInformation, string i_wheelManufacturer) : base(i_color, i_numberOfDoors, i_vehicleInformation, i_wheelManufacturer)
 {
     m_FuelEngine = new FuelEngine(m_MaxFuelAmountLiters, 0, FuelEngine.eFuelType.Octane98);
     // i_vehicleInformation.VehicleType = VehicleInformation.eVehicleType.FuelBasedCar;
 }