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
파일 보기 프로젝트 열기: nlhans/SimShift 1 사용 예제들

공개 메소드들

메소드 설명
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