API Docs for: 0.2.0
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:

Item Index

Properties

Methods

add

(
  • scene
  • options
)

Adds a scene to the scene director

Parameters:

refresh

(
  • scene
)

Refreshes a scene

Parameters:

render

()

Triggers the render event of the current scene

show

(
  • scene
  • options
  • callback
)

Shows a specified scene

Parameters:

Properties

currentScene

Scene

The current scene

sceneList

Object

All scenes