Constructor
new KeyBoardManager()
Member
(static) enabled :Boolean
The keyboard event is turned on and defaults to true
Methods
hasKeyDown(key) → {Boolean}
Returns whether the specified key is pressed.
Parameters:
Name | Type | Description |
---|---|---|
key |
int
|
Key value. |
Returns:
- Type:
-
Boolean
Is it pressed?.