BaseInputManager Class

Class org.rapo.games.managers.BaseInputManager

Inheritance > BaseInputManager

BaseInputManager should be subclassed by a game-specific InputManager class. Managers are implemented with static properties and methods and should not be instantiated.
Property Summary
 static Boolean 
 static Array 
 static Array 
 static Number 
 static Number 
Method Summary
 static Boolean 
 checkInputState(keyMapIndex)
 static Void 
 init()
 static Void 
Should be overridden in a game-specific InputManager class
 static Void 
Should be overridden in a game-specific InputManager class
 static Void 
Useful for debugging.
Property Detail
initialized
static var initialized:Boolean;
inputState
static var inputState:Array;
keyMap
static var keyMap:Array;
NUM_STATES
static var NUM_STATES:Number;
QUIT
static var QUIT:Number;
Method Detail
checkInputState
public static function checkInputState(keyMapIndex):Boolean
init
public static function init():Void
processInput
public static function processInput():Void
Should be overridden in a game-specific InputManager class
Parameters:
processKeyboardInput
public static function processKeyboardInput():Void
Should be overridden in a game-specific InputManager class
Parameters:
showInputState
public static function showInputState():Void
Useful for debugging.
Parameters:



Documentation generated by BLDoc Community Edition from B-Line Express.