Methods

(inner) displayScene(scene) → {Scene}

Hide the current scene and display a new scene

Parameters:
NameTypeDescription
sceneScene

Any scene to show

Returns:

Shown scene

Type: 
Scene

(inner) getCurrentScene() → {Scene}

Return the current scene

Returns:
Type: 
Scene

(inner) prepareScenes(builders, container) → {Scene}

Build all scene and display the first one

Parameters:
NameTypeDescription
buildersObject

Set of function building the scenes

containerHTMLElement

Container for all the scenes

Returns:

First shown scene

Type: 
Scene