MCPcopy Create free account
hub / github.com/arvidsson/BrainTree / StatefulSequence

Class StatefulSequence

BrainTree.h:404–424  ·  view source on GitHub ↗

The StatefulSequence composite ticks each child node in order, and remembers what child it prevously tried to tick. If a child fails or runs, the stateful sequence returns the same status. In the next tick, it will try to run the next child or start from the beginning again. If all children succeeds, only then does the stateful sequence succeed.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected