A type of ping that points to a specific location.

Hierarchy (View Summary)

Constructors

Properties

_color: Color

The color of the ping.

CHEVRON_PATH: string = "icons/pings/chevron.webp"

The path to the chevron texture.

Methods

  • On each tick, advance the animation.

    Parameters

    • dt: any

      The number of ms that elapsed since the previous frame.

    • animation: any

      The animation state.

    Returns void

  • Start the ping animation.

    Returns Promise<boolean>

    Returns true if the animation ran to completion, false otherwise.

  • Parameters

    • options: {} = {}

    Returns void