A type of ping that produces an arrow pointing in a given direction.

Hierarchy (view full)

Methods

  • Draw the shape for this ping.

    Parameters

    • g: any

      The graphics object to draw to.

    • color: any

      The color of the shape.

    • alpha: any

      The alpha of the shape.

    • size: any

      The size of the shape to draw.

    Returns void

  • Start the ping animation.

    Returns Promise<boolean>

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

  • 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

  • Parameters

    • options: {} = {}

      Returns void

      Inherit Doc