Composite class abstract

Abstract base class for a node composed of multiple nodes. The update() method uses the composite Node instances.

Inheritance
Implementers

Constructors

Composite(List<Node> nodes)
Construct a Composite made up of the specified argument nodes.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
Index of the current Node of the Composite. The value should represent the index of the child Node that is in execution. The index is not guaranteed to be inside the bounds of the List that holds the children Node instances of the Composite.
no setter
length int
Count of the number of Node instances in the Composite.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
override
toString() String
A string representation of this object.
inherited
update() Status
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) Node
Indexes into the List of children Node instances.