Skip to main content

RepeatForever

RepeatForever Action implementation, it is recommended you use the fluent action context API.

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

id

id: number = ...

Methods

publicisComplete

  • isComplete(): boolean
  • Returns boolean

publicreset

  • reset(): void
  • Restarts the repeat by stopping the current action and rebuilding the sequence. The builder is called again, including when runAction resets this action. Actions start from the entity's current state; its position is not restored. During a child action's update, rebuilding is deferred until that update completes.


    Returns void

publicstop

  • stop(): void
  • Returns void

publicupdate

  • update(elapsed: number): void
  • Parameters

    • elapsed: number

    Returns void