Properties:
Name | Type | Description |
---|---|---|
isTitleBackgroundImage |
boolean | Indicate if the background is an image |
titleBackgroundImageID |
number | The background image ID |
titleBackgroundVideoID |
number | The background video ID |
titleMusic |
SystemPlaySong | The title music |
titleCommands |
Array.<SystemTitleCommand> | The title commands |
titleSettings |
Array.<number> | The title settings IDs |
Methods
-
Read the JSON file associated to title screen and game over
-
getCommandsNames ()Array.<GraphicText>
-
Get the commands graphic names
Returns:
Type Description Array.<GraphicText> -
Get the commands actions functions
Returns:
Type Description Array.<function()> -
getSettingsCommandsContent ()Array.<GraphicSetting>
-
Get the commands settings content graphic
Returns:
Type Description Array.<GraphicSetting> -
Get the settings commands actions functions
Returns:
Type Description Array.<function()> -
Get the settings commands action function according to ID
Name Type Description id
number The action ID Returns:
Type Description function -
The setting action keyboard assignment
Returns:
Type Description boolean