SelectorNode Class

Fight Game AI Demo

SelectorNode Class
Selects the first node that succeeds. Tries successive nodes until it finds one that doesn't fail. Origionaly Developed by Ashley Davis. Modified for use in this project by Steven Mcvey.
Inheritance Hierarchy
SystemObject  FightGameAIDemo.Behavior_TreeSelectorNode

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

The SelectorNode type exposes the following members.

Constructors
  NameDescription
Public methodSelectorNode
Initializes a new instance of the SelectorNode class.
Top
Methods
  NameDescription
Public methodAddChild
Add a child node to the selector.
Public methodTick
Update the time of the behaviour tree.
Top
Fields
  NameDescription
Private fieldchildren
List of child nodes.
Private fieldname
The name of the node.
Top
See Also

Reference

[!:FightGameAIDemo.IMyParentBehaviourTreeNode]