Scenes

Scenes

The collection of Scene entities

Constructor

new Scenes()

Source:

Members

active

Source:

Return a reference to the Scene which is currently active

object

Source:

viewed

Source:

Return a reference to the Scene which is currently viewed

Methods

(static) socketListeners()

Source:

_createEmbeddedEntity()

Source:

_createManyEmbeddedEntities()

Source:

_deleteEmbeddedEntity()

Source:

_deleteManyEmbeddedEntities()

Source:

_updateEmbeddedEntity()

Source:

_updateManyEmbeddedEntities()

Source:

preload(sceneId, push)

Source:

Handle pre-loading the art assets for a Scene

Parameters:
Name Type Default Description
sceneId string

The Scene id to begin loading

push boolean false

Trigger other connected clients to also pre-load Scene resources