Gets the current state of the action for the user with the given id.
The user to get the action state for.
The current state of the action for the user.
Get whether the action is active for the user with the given id.
The user to get whether the action is active for, or null if active for any user is desired..
Add a handler for the given action state for when it is triggered.
The action state that the handle should be assigned to.
The handler to call when the action state is triggered.
Class that represents a discrete action that can be in one of two states, started or stopped for each user. @see ActionState