Methods
(inner) displayScene(scene) → {Scene}
Hide the current scene and display a new scene
Parameters:
Name | Type | Description |
---|---|---|
scene | Scene | 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:
Name | Type | Description |
---|---|---|
builders | Object | Set of function building the scenes |
container | HTMLElement | Container for all the scenes |
Returns:
First shown scene
- Type:
- Scene