13 void ActionManager(ActionManager parent);
14 proto native external
bool RegisterAction(
string actionName);
15 proto native external
bool RegisterContext(
string contextName);
17 proto native external
float LocalValue(
string actionName);
18 proto native external
bool GetActionTriggered(
string actionName);
20 proto native external
bool ActivateAction(
string actionName,
int duration = 0);
21 proto native external
bool IsActionActive(
string actionName);
23 proto native external
bool ActivateContext(
string contextName,
int duration = 0);
24 proto native external
bool IsContextActive(
string contextName);
26 proto external
void AddActionListener(
string actionName, InputTrigger trigger,
func callback);
28 proto native external
void SetContextDebug(
string contextName,
bool bDebug);
30 proto native
void SetParent(ActionManager parent);
31 proto native
void SetDebug(
bool bDebug);
34 class InputManager: ActionManager
36 private void InputManager(ActionManager parent) {};
37 private void ~InputManager() {};
39 proto native external
void ResetAction(
string actionName);
40 proto native
void SetCursorPosition(
int x,
int y);
41 proto native external
bool RegisterActionManager(ActionManager pManager);
42 proto native external
bool UnregisterActionManager(ActionManager pManager);