SequenceNode Class

Fight Game AI Demo

SequenceNode Class
Runs child nodes in sequence, until one fails. Origionaly Developed by Ashley Davis. Modified for use in this project by Steven Mcvey.
Inheritance Hierarchy
SystemObject  FightGameAIDemo.Behavior_TreeSequenceNode

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

The SequenceNode type exposes the following members.

Constructors
  NameDescription
Public methodSequenceNode
Initializes a new instance of the SequenceNode class.
Top
Methods
  NameDescription
Public methodAddChild
Add a child to the sequence.
Public methodTick
Update the time of the behaviour tree.
Top
Fields
  NameDescription
Private fieldchildren
List of child nodes.
Private fieldname
Name of the node.
Top
See Also

Reference

[!:FightGameAIDemo.IMyParentBehaviourTreeNode]