Method | Defined By | ||
---|---|---|---|
KeyManager(defaultKeys:KeyData) | KeyManager | ||
_Destruct():void [override]
Removes the current key data. | KeyManager | ||
_HandleHotKeys(key:uint):void
Handles hot keys. | KeyManager | ||
_IsValid():Boolean
Returns if this singleton is active/valid. | Singleton | ||
EnableHotkeys(bEnabled:Boolean = true):void
Enables/disables hot keys. | KeyManager | ||
Get(sKey:String):uint
Returns a uint or Array of uint key based on string found in key data. | KeyManager | ||
Set(sKey:String, keyCode:uint):void
Sets a key data string reference with given uint key code
| KeyManager |
KeyManager | () | Constructor |
_Destruct | () | method |
override public function _Destruct():void
Removes the current key data.
_HandleHotKeys | () | method |
public function _HandleHotKeys(key:uint):void
Handles hot keys.
Parameters
key:uint |
EnableHotkeys | () | method |
public function EnableHotkeys(bEnabled:Boolean = true):void
Enables/disables hot keys.
Parameters
bEnabled:Boolean (default = true )
|
Get | () | method |
public function Get(sKey:String):uint
Returns a uint or Array of uint key based on string found in key data.
Parameters
sKey:String — The key data string reference.
|
uint —
|
Set | () | method |
public function Set(sKey:String, keyCode:uint):void
Sets a key data string reference with given uint key code
Parameters
sKey:String — The key data string reference name.
| |
keyCode:uint — The key code
|