SceneHandler

SceneHandler

Handler for loading scene into engine

Constructor

new SceneHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ConfigHandler constructor arguments.

Methods

_handleAssetDirectory()

Loads the asset directory and any code assets within the directory.

_remove(ref)

Removes the scene, i e removes all entities in scene from engine world

Parameters:
Name Type Description
ref string

_update(ref, config, options) → {Promise}

Creates/updates/removes a scene

Parameters:
Name Type Description
ref string
config Object
options Object