Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Scene

Index

Constructors

Properties

_root: Entity

Accessors

  • get isLoaded(): boolean
  • Checks if all entities in the scene are loaded.

    Returns boolean

    boolean

Methods

  • addEntity(child: Entity): void
  • getObjectByName(name: string): undefined | Entity
  • Gets an object by name through the root object.

    Parameters

    • name: string

    Returns undefined | Entity

    Entity

  • load(): void
  • Renders the scene. Calls render on the root and all it's children.

    Parameters

    Returns void

    void

  • update(delta: number): void
  • Updates the scene. Calls update on the root and all it's children.

    Parameters

    • delta: number

    Returns void

    void

Generated using TypeDoc