Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LoaderScreen

Loader behavior. Basically a specialized GameScreen used to present loading progress. Its implementations should use as few resources as possible, as they are loaded concurrently to the game resources.

Hierarchy

  • LoaderScreen

Implemented by

Index

Methods

Methods

init

  • init(core: Core): void
  • Initialises scene. This method is called each time the loader is called. If all screens are defined before the first call to Engine.start(), this method is only called once.

    Parameters

    • core: Core

      A reference to the active engine core

    Returns void

run

  • Main method. Called on each frame

    Parameters

    • core: Core

      A reference to the active engine core

    • stats: LoaderStats

      Current loader stats

    Returns void

Generated using TypeDoc