Qualia
0.2
|
Abstract base class for Behavior Tree nodes with exactly one child. More...
#include <BehaviorTreeBase.h>
Public Member Functions | |
BehaviorTreeDecoratorNode () | |
virtual | ~BehaviorTreeDecoratorNode () |
virtual BEHAVIOR_STATUS | execute (void *agent)=0 |
This method is invoked by the node's parent when the node should be run. More... | |
virtual void | init (void *object)=0 |
This method will be invoked before the node is executed for the first time. More... | |
virtual BehaviorTreeNode * | setChild (BehaviorTreeNode *node) |
Sets the child node of this node. More... | |
![]() | |
virtual | ~BehaviorTreeNode () |
Public Attributes | |
BehaviorTreeNode * | child |
This node's child node. More... | |
Abstract base class for Behavior Tree nodes with exactly one child.
BehaviorTree::BehaviorTreeDecoratorNode::BehaviorTreeDecoratorNode | ( | ) |
|
virtual |
|
pure virtual |
This method is invoked by the node's parent when the node should be run.
Implements BehaviorTree::BehaviorTreeNode.
Implemented in BehaviorTree::CountLimitNode, and BehaviorTree::RepeatNode.
|
pure virtual |
This method will be invoked before the node is executed for the first time.
Implements BehaviorTree::BehaviorTreeNode.
Implemented in BehaviorTree::CountLimitNode, and BehaviorTree::RepeatNode.
|
virtual |
Sets the child node of this node.
BehaviorTreeNode* BehaviorTree::BehaviorTreeDecoratorNode::child |
This node's child node.