Open Rails

BrakeController.HandleEvent(BrakeControllerEvent) 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
);

Parameters

evt
The event happened

See Also

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