C# Class Plugin.AtsP.Pattern

Represents a pattern.
Mostra file Open project: leezer3/OpenBVE Class Usage Examples

Private Methods

Method Description
Clear ( ) : void

Clears the pattern.

Pattern ( AtsP device ) : System

Creates a new pattern.

Perform ( AtsP system, ElapseData data ) : void

Updates the pattern.

SetGradient ( double gradient ) : void

Sets the gradient.

SetGreenSignal ( double position ) : void

Sets the position of the green signal.

SetLimit ( double speed, double position ) : void

Sets a speed limit and the position of the speed limit.

SetRedSignal ( double position ) : void

Sets the position of the red signal.