C# Class FluentBehaviourTree.InverterNode

Decorator node that inverts the success/failure of its child.
Inheritance: IParentBehaviourTreeNode
Show file Open project: codecapers/Fluent-Behaviour-Tree Class Usage Examples

Public Methods

Method Description
AddChild ( IBehaviourTreeNode child ) : void

Add a child to the parent node.

InverterNode ( string name ) : System
Tick ( TimeData time ) : BehaviourTreeStatus

Method Details

AddChild() public method

Add a child to the parent node.
public AddChild ( IBehaviourTreeNode child ) : void
child IBehaviourTreeNode
return void

InverterNode() public method

public InverterNode ( string name ) : System
name string
return System

Tick() public method

public Tick ( TimeData time ) : BehaviourTreeStatus
time TimeData
return BehaviourTreeStatus