Class: SystemKeyBoard

SystemKeyBoard

A key shortcut of the game

new SystemKeyBoard (json)

Name Type Description
json Object optional Json object describing the keyboard
Properties:
Name Type Description
sc Array.<Array.<number>> The shortcut value

Extends

Methods

read (json) overrides

Read the JSON associated to the keyboard
Name Type Description
json Object Json object describing the keyboard

toString ()string

Get the string representation of the keyboard
Returns:
Type Description
string

name ()string inherited overrides

Get the name according to current lang
Returns:
Type Description
string

getCommand () inherited overrides

Update lang according to a command list and iterator