RepeatForever
Implements
Index
Constructors
constructor
Parameters
entity: Entity
repeatBuilder: (repeatContext: ActionContext) => any
Returns RepeatForever
Properties
id
Methods
publicisComplete
Returns boolean
publicreset
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
Returns void
publicupdate
Parameters
elapsed: number
Returns void
RepeatForever Action implementation, it is recommended you use the fluent action context API.