C# Класс 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.
Наследование: IControlChainObj, IConfigurable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ApplyParameter() публичный Метод

public ApplyParameter ( IniValueObject obj ) : void
obj SimShift.Utils.IniValueObject
Результат void

ExportParameters() публичный Метод

public ExportParameters ( ) : IEnumerable
Результат IEnumerable

GetAxis() публичный Метод

public GetAxis ( JoyControls c, double val ) : double
c JoyControls
val double
Результат double

GetButton() публичный Метод

public GetButton ( JoyControls c, bool val ) : bool
c JoyControls
val bool
Результат bool

Requires() публичный Метод

public Requires ( JoyControls c ) : bool
c JoyControls
Результат bool

ResetParameters() публичный Метод

public ResetParameters ( ) : void
Результат void

TickControls() публичный Метод

public TickControls ( ) : void
Результат void

TickTelemetry() публичный Метод

public TickTelemetry ( IDataMiner data ) : void
data IDataMiner
Результат void