KeyboardInput Class
A component class that holds key bindings for a given entity that translate key codes into actions.
Constructor
KeyboardInput
(
-
keyBindings
Parameters:
-
keyBindings
ObjectAn object containing the key bindings.
Item Index
Methods
Methods
getKeyBindings
()
Object
Returns:
Object:
Direct reference to the object containing the key bindings.
setKeyBindings
(
-
keyBindings
Parameters:
-
keyBindings
ObjectAn object containing the key bindings.