Class: DatasKeyBoard

DatasKeyBoard

All the keyBoard datas

new DatasKeyBoard ()

Properties:
Name Type Description
list Array.<SystemKeyBoard> List of all the keys of the game by ID
listOrdered Array.<SystemKeyBoard> List of all the keys of the game by index
menuControls Object All the menu controls assigns

Methods

DatasKeyBoard.isKeyEqual (key, abr)boolean static

Test if a key id can be equal to a keyboard system object
Name Type Description
key number The key id that needs to be compared
abr SystemKeyBoard The keyBoard to compare to the key
Returns:
Type Description
boolean

read () async

Read the JSON file associated to keyboard

getCommandsGraphics ()Array.<GraphicKeyboard>

Get the graphics commands
Returns:
Type Description
Array.<GraphicKeyboard>

getCommandsActions ()Array.<function()>

Get the actions commands
Returns:
Type Description
Array.<function()>