Open Rails

BrakeController.HandleEvent(BrakeControllerEvent, Single) Method

[This is preliminary documentation and subject to change.]

Called when an event happens (like the alerter button pressed)

public abstract void HandleEvent(
   BrakeControllerEvent evt,
   floatvalue
);

Parameters

evt
The event happened
value
The value assigned to the event (a target for example). May be null.

See Also

BrakeController Class | ORTS.Scripting.Api Namespace | BrakeController.HandleEvent Overload List