Interface: ActionManager
Binds actions to the client and manages their lifetime. Action managers are managed on a per player basis since client side UI is per player.
Properties
activeToolId
activeToolId:
string
Remarks
The active tool ID
Methods
createAction()
createAction<
T
>(rawAction
):RegisteredAction
<T
>
Type parameters
Type parameter |
---|
T extends Action |
Parameters
Parameter | Type | Description |
---|---|---|
rawAction | T | The raw action to create. See ActionTypes for supported parameters |
Returns
Remarks
Creates an action and registers it on the client