C# Class SimShift.Services.VariableSpeedTransmission

Inheritance: IControlChainObj
Afficher le fichier Open project: nlhans/SimShift Class Usage Examples

Méthodes publiques

Свойство Type Description
fast bool
reqpower double

Private Properties

Свойство Type Description
DeductRangeFromGear int
GetRangeButton bool
GetShiftButton bool
RangeSwitchTruthTable bool

Méthodes publiques

Méthode Description
GetAxis ( JoyControls c, double val ) : double
GetButton ( JoyControls c, bool val ) : bool
Requires ( JoyControls c ) : bool
TickControls ( ) : void
TickTelemetry ( IDataMiner data ) : void
VariableSpeedTransmission ( ) : System

Private Methods

Méthode Description
DeductRangeFromGear ( int gr ) : int
GetRangeButton ( int bt ) : bool
GetShiftButton ( int bt ) : bool
RangeSwitchTruthTable ( int button, int old, int nw ) : bool

Method Details

GetAxis() public méthode

public GetAxis ( JoyControls c, double val ) : double
c JoyControls
val double
Résultat double

GetButton() public méthode

public GetButton ( JoyControls c, bool val ) : bool
c JoyControls
val bool
Résultat bool

Requires() public méthode

public Requires ( JoyControls c ) : bool
c JoyControls
Résultat bool

TickControls() public méthode

public TickControls ( ) : void
Résultat void

TickTelemetry() public méthode

public TickTelemetry ( IDataMiner data ) : void
data IDataMiner
Résultat void

VariableSpeedTransmission() public méthode

public VariableSpeedTransmission ( ) : System
Résultat System

Property Details

fast public_oe property

public bool fast
Résultat bool

reqpower public_oe static_oe property

public static double reqpower
Résultat double