InverterNode Class

Fight Game AI Demo

InverterNode Class
Decorator node that inverts the success/failure of its child. Origionaly Developed by Ashley Davis. Modified for use in this project by Steven Mcvey.
Inheritance Hierarchy
SystemObject  FightGameAIDemo.Behavior_TreeInverterNode

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

The InverterNode type exposes the following members.

Constructors
  NameDescription
Public methodInverterNode
Initializes a new instance of the InverterNode 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 fieldchildNode
The child to be inverted.
Private fieldname
Name of the node.
Top
See Also

Reference

[!:FightGameAIDemo.IMyParentBehaviourTreeNode]