public static void GetRequiredInputParamsForElectricCar(List <VehicleInputParam> i_ParamsListToFill) { Car.GetRequiredInputParamsForCar(i_ParamsListToFill); i_ParamsListToFill.Add(new VehicleInputParam(typeof(float), "current battery charge in percents", 100)); }
public static void GetRequiredInputParamsForFuelCar(List <VehicleInputParam> i_ParamsListToFill) { Car.GetRequiredInputParamsForCar(i_ParamsListToFill); i_ParamsListToFill.Add(new VehicleInputParam(typeof(float), "current amount of fuel in percents", 100)); }