Class: DatasTitlescreenGameover

DatasTitlescreenGameover

All the titlescreen and gameover datas

new DatasTitlescreenGameover ()

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 () async

Read the JSON file associated to title screen and game over

getCommandsNames ()Array.<GraphicText>

Get the commands graphic names
Returns:
Type Description
Array.<GraphicText>

getCommandsActions ()Array.<function()>

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

getSettingsCommandsContent ()Array.<GraphicSetting>

Get the commands settings content graphic
Returns:
Type Description
Array.<GraphicSetting>

getSettingsCommandsActions ()Array.<function()>

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

getSettingsCommandsAction (id)function

Get the settings commands action function according to ID
Name Type Description
id number The action ID
Returns:
Type Description
function

keyboardAssignment ()boolean

The setting action keyboard assignment
Returns:
Type Description
boolean