Class: SequenceAction
The Action class has static methods for creating actions to be executed by an M2Node.
Extends
Implements
ActionContainer
Constructors
new SequenceAction()
new SequenceAction(
actions
):SequenceAction
Parameters
• actions: Action
[]
Returns
Overrides
Source
Properties
children
children:
Action
[]
Implementation of
ActionContainer.children
Source
duration
duration:
Futurable
Implementation of
ActionContainer.duration
Inherited from
Source
key?
optional
key:string
Implementation of
ActionContainer.key
Inherited from
Source
parent?
optional
parent:ActionContainer
Implementation of
ActionContainer.parent
Inherited from
Source
runDuringTransition
runDuringTransition:
boolean
Implementation of
ActionContainer.runDuringTransition
Inherited from
Source
runStartTime
runStartTime:
number
=-1
Start time of a running action is always known; it is not a Futurable
.
-1 indicates that the root action has not yet started running.
Implementation of
ActionContainer.runStartTime
Inherited from
Source
running
running:
boolean
=false
Implementation of
ActionContainer.running
Inherited from
Source
startOffset
startOffset:
Futurable
Implementation of
ActionContainer.startOffset
Inherited from
Source
started
started:
boolean
=false
Implementation of
ActionContainer.started
Inherited from
Source
type
type:
ActionType
=ActionType.Sequence
Implementation of
ActionContainer.type
Overrides
Source
Accessors
completed
get
completed():boolean
Indicates whether the action has completed, taking into account all its child actions.
Remarks
Is read-only for parent actions.
Returns
boolean
Source
descendants
get
descendants():Action
[]