Class

TitleScreen

TitleScreen() → {TitleScreen}

Constructor

# new TitleScreen() → {TitleScreen}

The builtin title screen system.

View Source titleScreen.js, line 12

TitleScreen

Methods

# show(config) → {undefined}

Shows the default title screen system based the supplied config.
Parameters:
Name Type Description
config Object

View Source titleScreen.js, line 31

undefined
Example
let config = {
 "backgroundImage": "startscreen.png", 
 "titleScreenMusic": "intro.ogg"
};
await titleScreen.show(config);