C# Class SimTelemetry.Game.Rfactor.Garage.rFactorCarEngine

Inheritance: ICarEngine
Mostra file Open project: nlhans/SimTelemetry

Public Methods

Method Description
GetMaximumPower ( ) : double
GetPowerCurve ( double speed, double throttle, int engine_mode ) : double>.Dictionary
GetTorqueCurve ( double speed, double throttle, int engine_mode ) : double>.Dictionary
rFactorCarEngine ( string file, IniScanner mHdv ) : System

Private Methods

Method Description
GetTorqueFromCurve ( double>.Dictionary curve, double rpm ) : double
HandleEngineLine ( object data ) : void

Method Details

GetMaximumPower() public method

public GetMaximumPower ( ) : double
return double

GetPowerCurve() public method

public GetPowerCurve ( double speed, double throttle, int engine_mode ) : double>.Dictionary
speed double
throttle double
engine_mode int
return double>.Dictionary

GetTorqueCurve() public method

public GetTorqueCurve ( double speed, double throttle, int engine_mode ) : double>.Dictionary
speed double
throttle double
engine_mode int
return double>.Dictionary

rFactorCarEngine() public method

public rFactorCarEngine ( string file, IniScanner mHdv ) : System
file string
mHdv SimTelemetry.Objects.IniScanner
return System