Action Queues represent an ordered sequence of actions

Action queues are part of the Action API and store the list of actions to be executed for an Actor.

Actors implement Actor.actions which can be manipulated by advanced users to adjust the actions currently being executed in the queue.

Hierarchy

  • ActionQueue

Constructors

Methods

  • Returns

    true if there are more actions to process in the sequence

    Returns boolean

  • Returns

    true if the current sequence of actions is done

    Returns boolean

  • Resets the sequence of actions, this is used to restart a sequence from the beginning

    Returns void

  • Update the queue which updates actions and handles completing actions

    Parameters

    • elapsedMs: number

    Returns void