Hierarchy

  • IRendererEvents

Methods

  • Called when the renderer is deleted

    Returns void

  • Called when getting the position to render at. By default, this is the player's location.

    Returns

    The new position to render at, or undefined to use the player's location

    Parameters

    • position: IVector2

      The player's location

    Returns undefined | IVector2

  • Called when setting the zoom level.

    Returns undefined | number

  • Called when setting the zoom level.

    Returns undefined | number

  • Called when setting the zoom level.

    Parameters

    • zoomLevel: number

      The zoom level that will be used by default

    Returns undefined | number

  • Called when the renderer is initialized

    Returns void

  • Called after rendering everything

    Returns void

  • Called before rendering everything

    Returns void

Generated using TypeDoc