API Docs for: 0.2.0-beta5
Show:

Scene Class

Defined in: src\scene\index.js:24
Module: Lyria

Scene constructor

Constructor

Scene

()

Item Index

Methods

add

(
  • child
)

Adds a gameobject to the scene

Parameters:

bindEvent

(
  • selector
  • eventName
  • eventFunction
)

Sets an event to the event object (DOM events) TODO: Not completely happy with the function name

Parameters:

refresh

(
  • val
)

Refreshes the scene (Re-renders the template)

Parameters: