![]() | Slash.AI.BehaviorTrees.Implementations.Composites Namespace |
[Missing <summary> documentation for "N:Slash.AI.BehaviorTrees.Implementations.Composites"]
Class | Description | |
---|---|---|
![]() | CompositeTTaskData |
Task which contains array of references to other tasks.
|
![]() | Parallel |
The Parallel composite acts in a similar way to the Sequence composite. It has a set of child tasks, and it runs them until one of them fails. At that point, the Parallel task as a whole fails. If all of the child tasks complete successfully, the Parallel task returns with success. In this way, it is identical to the Sequence task and its non-deterministic variations. The difference is the way it runs those tasks. Rather than running them one at a time, it runs them all simultaneously. We can think of it as creating a bunch of new threads, one per child, and setting the child tasks off together.
|
![]() | ParallelData |
task data of a parallel task.
|
![]() | ParallelDecisionData |
The decision data.
|
![]() | Selector |
Task which selects one of its children to be executed. If the chosen child finished execution, the task finishes.
|
![]() | SelectorData |
Task data.
|
![]() | SelectorDecisionData |
The decision data.
|
![]() | Sequence |
Task which executes its children one after another. The task finishes when all children finished.
|
![]() | SequenceData |
Task data.
|