Open Rails

IController Interface

[This is preliminary documentation and subject to change.]

This interface is used to specify how controls will work. We have a class for implementing each type of controller that locomotives use, being the commons the Notched and not Notched controller.

For a list of all members of this type, see IController Members .

public interface IController

Types that implement IController

Type Description
MSTSNotchController This is the most used controller. The main use is for diesel locomotives' Throttle control. It is used with single keypress, this means that when the user press a key, only the keydown event is handled. The user need to press the key multiple times to update this controller.
ScriptedBrakeController  

Requirements

Namespace: ORTS

Assembly: RunActivity (in RunActivity.exe)

See Also

IController Members | ORTS Namespace