API Docs for: 0.2.4
Show:

Director Class

Module: Scene
Parent Module: Lyria

The scene director constructor Attaches a scene director to a container, the parent is optional

Constructor

Director

(
  • container
  • parent
)

Parameters:

Methods

add

(
  • child
)

Provided by the Lyria module.

Defined in src\component\index.js:27

Adds a component to this entity

Parameters:

add

(
  • scene
  • data
)

Adds a scene to the scene director

Parameters:

log

(
  • text
)

Provided by the Lyria module.

Defined in src\component\index.js:67

Logs from the component itself

Parameters:

refresh

(
  • scene
)

Refreshes a scene

Parameters:

remove

(
  • name
)

Provided by the Lyria module.

Defined in src\component\index.js:51

Removes a component from the entity

Parameters:

show

(
  • scene
  • options
  • callback
)

Shows a specified scene

Parameters:

Properties

className

String

currentScene

Scene

The current scene

defaultScene

String

The default scene

sceneList

Object

All scenes