Sequence
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Description
A sequence is a series of tasks that run after each other when the actor ticks.For example, when a level ticks.
Members
Getter
Gets the context for this sequence.
Return Type:
SequenceContext<T, U>
context() as SequenceContext<T, U>
Gets the context for this sequence.
Returns: The context for this sequence.
Return Type:
SequenceContext<T, U>
Getter
Checks if this sequence is complete.
Return Type:
bool
isComplete() as bool
Checks if this sequence is complete.
Returns: true if complete, false otherwise.
Return Type:
bool
stop()
Stops this sequence, subsequent tasks will not be ran.
Getter
Checks if this sequence is stopped or not.
Return Type:
bool
stopped() as bool
Checks if this sequence is stopped or not.
Returns: true if stopped, false otherwise.
Return Type:
bool
tick()
Ticks this sequence.