ActionHandler is the C# wrapper for the ActionMaps. Using this you can have a config-file that defines your input instead of all the input being hard coded. More...
Inherits IActionListener.
Public Member Functions | |
| ActionHandler (string actionMapPath, string actionMapName) | |
| Create a new ActionHandler that can receive the input as described in the config-file at actionMapPath. This ActionHandler will use the ActionMap specified by actionMapName. More... | |
| override void | AfterAction () |
| Called after an action has been invoked. More... | |
| override void | OnAction (CCryName action, int activationMode, float value) |
| Called when an action is invoked. More... | |
| override void | Dispose () |
| Clear the handlers and dispose of this instance. More... | |
| void | AddHandler (string action, Action< string, InputState, float > handler) |
| Add a handler for an action to this ActionHandler. More... | |
| void | RemoveHandler (string action) |
| Remove a handler from this ActionHandler. More... | |
ActionHandler is the C# wrapper for the ActionMaps. Using this you can have a config-file that defines your input instead of all the input being hard coded.
|
inline |
Create a new ActionHandler that can receive the input as described in the config-file at actionMapPath. This ActionHandler will use the ActionMap specified by actionMapName.
| actionMapPath | |
| actionMapName |
|
inline |
Add a handler for an action to this ActionHandler.
| action | |
| handler |
|
inline |
Called after an action has been invoked.
|
inline |
Clear the handlers and dispose of this instance.
|
inline |
Called when an action is invoked.
| action | |
| activationMode | |
| value |
|
inline |
Remove a handler from this ActionHandler.
| action |