C# Class SimShift.Services.Speedlimiter

Limits maximum speed of vehicle to avoid reckless driving, or create realism for some vehicles (eg 255km/h limit on german saloon cars). Maximum speed can be adjusted and must be set some km/h lower than the desired speed. Aggresiveness is determined by slope.
Inheritance: IControlChainObj, IConfigurable
Afficher le fichier Open project: nlhans/SimShift Class Usage Examples

Méthodes publiques

Méthode Description
ApplyParameter ( IniValueObject obj ) : void
ExportParameters ( ) : IEnumerable
GetAxis ( JoyControls c, double val ) : double
GetButton ( JoyControls c, bool val ) : bool
Requires ( JoyControls c ) : bool
ResetParameters ( ) : void
TickControls ( ) : void
TickTelemetry ( IDataMiner data ) : void

Method Details

ApplyParameter() public méthode

public ApplyParameter ( IniValueObject obj ) : void
obj SimShift.Utils.IniValueObject
Résultat void

ExportParameters() public méthode

public ExportParameters ( ) : IEnumerable
Résultat IEnumerable

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

ResetParameters() public méthode

public ResetParameters ( ) : void
Résultat void

TickControls() public méthode

public TickControls ( ) : void
Résultat void

TickTelemetry() public méthode

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