Skip to main content

IControllerAction

An interface in Root.Township, the global namespace.

A controller input action (such as a button) with a pressed state and start and end events.

Properties​

MemberWhat it is
bool State { get; }True while the action is held.
ControllerActionType Type { get; set; }Which controller action this is.

Events​

MemberWhat it is
event ClickedEndEventHandler EndedRaised when the action is released.
event ClickedEventHandler StartedRaised when the action is pressed.