Packageartcustomer.maxima.engine.inputs.controls.map
Classpublic class GameControlsMap
InheritanceGameControlsMap Inheritance Object
Implements IDestroyable

GameControlsMap



Public Methods
 MethodDefined By
  
Constructor
GameControlsMap
  
addControl(action:String, table:ControlTable):void
Add control in map.
GameControlsMap
  
clear():void
Remove all controls.
GameControlsMap
  
destroy():void
Destructor
GameControlsMap
  
getControlByKey(keyCode:String, controlType:String):String
Get control by key code.
GameControlsMap
  
hasControl(action:String):Boolean
Test control in map.
GameControlsMap
  
removeControl(action:String):void
Remove control in map.
GameControlsMap
Constructor Detail
GameControlsMap()Constructor
public function GameControlsMap()

Constructor

Method Detail
addControl()method
public function addControl(action:String, table:ControlTable):void

Add control in map.

Parameters

action:String
 
table:ControlTable

clear()method 
public function clear():void

Remove all controls.

destroy()method 
public function destroy():void

Destructor

getControlByKey()method 
public function getControlByKey(keyCode:String, controlType:String):String

Get control by key code.

Parameters

keyCode:String
 
controlType:String

Returns
String
hasControl()method 
public function hasControl(action:String):Boolean

Test control in map.

Parameters

action:String

Returns
Boolean
removeControl()method 
public function removeControl(action:String):void

Remove control in map.

Parameters

action:String