ParallelNode Class

Fight Game AI Demo

ParallelNode Class
Runs childs nodes in parallel. Origionaly Developed by Ashley Davis. Modified for use in this project by Steven Mcvey.
Inheritance Hierarchy
SystemObject  FightGameAIDemo.Behavior_TreeParallelNode

Namespace: FightGameAIDemo.Behavior_Tree
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class ParallelNode : IMyParentBehaviourTreeNode, 
	IMyBehaviourTreeNode

The ParallelNode type exposes the following members.

Constructors
  NameDescription
Public methodParallelNode
Initializes a new instance of the ParallelNode class.
Top
Methods
  NameDescription
Public methodAddChild
Add a child to the parent node.
Public methodTick
Update the time of the behaviour tree.
Top
Fields
  NameDescription
Private fieldchildren
List of child nodes.
Private fieldname
Name of the node.
Private fieldnumRequiredToFail
Number of child failures required to terminate with failure.
Private fieldnumRequiredToSucceed
Number of child successess require to terminate with success.
Top
See Also

Reference

[!:FightGameAIDemo.IMyParentBehaviourTreeNode]