Hierarchy

  • AnimationManager

Constructors

Properties

game: Game

the BGA game class, usually it will be this

zoomManager?: IZoomManager

The zoom manager, providing the current scale.

Methods

  • Returns if the animations are active. Animation aren't active when the window is not visible (document.visibilityState === 'hidden'), or game.instantaneousMode is true.

    Returns boolean

    if the animations are active.

  • Set the zoom manager, to get the scale of the current game.

    Parameters

    Returns void

Generated using TypeDoc