ParallelNode Class
From Fight Game AI Demo
A Sandcastle Documented Class Library
| ParallelNode Class |
Runs childs nodes in parallel.
Origionaly Developed by Ashley Davis. Modified for use in this project by Steven Mcvey.
Namespace: FightGameAIDemo.Behavior_Tree
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
C#
public class ParallelNode : IMyParentBehaviourTreeNode, IMyBehaviourTreeNode
The ParallelNode type exposes the following members.
| Name | Description | |
|---|---|---|
| ParallelNode |
Initializes a new instance of the ParallelNode class.
|
| Name | Description | |
|---|---|---|
| AddChild |
Add a child to the parent node.
| |
| Tick |
Update the time of the behaviour tree.
|
| Name | Description | |
|---|---|---|
| children |
List of child nodes.
| |
| name |
Name of the node.
| |
| numRequiredToFail |
Number of child failures required to terminate with failure.
| |
| numRequiredToSucceed |
Number of child successess require to terminate with success.
|