public SportCar( string _brand, string _model, Colors _color, FuelTypes _fuel, uint _maxSpeed, double _horsepowers, double _engineCapacity, ExhaustSystemsBrands _exhaustSystemBrand) : base(_brand, _model, _color, _fuel, _maxSpeed, _horsepowers, _engineCapacity) { this.exhaustSystemBrand = _exhaustSystemBrand; }
public static double GetCoefficient(ExhaustSystemsBrands brand) { return(fuelConsumptionsCoefficient[brand]); }