Name | Type | Description |
---|---|---|
json |
Object | optional Json object describing the title screen command |
Properties:
Name | Type | Description |
---|---|---|
kind |
TitleCommandKind | The title command kind |
script |
string | The script formula |
Extends
Methods
-
read (json) overrides
-
Read the JSON associated to the title screen command
Name Type Description json
Object Json object describing the title screen command -
Get the action function according to kind
Returns:
Type Description function -
Callback function for start a new game
Returns:
Type Description boolean -
Callback function for loading an existing game
Returns:
Type Description boolean -
Callback function for loading an existing game
Returns:
Type Description boolean -
Callback function for closing the window
Returns:
Type Description boolean -
Callback function for closing the window
Returns:
Type Description boolean -
Get the name according to current lang
Returns:
Type Description string -
Update lang according to a command list and iterator