deAINode Class Reference

AI Node Class. More...

#include <deAINode.h>

Inheritance diagram for deAINode:
deObject deAINodeChain deAINodeModifyAnimator deAINodeSendEvent

List of all members.

Public Member Functions

Constructors and Destructors
 deAINode ()
 Creates a new ai node.
virtual ~deAINode ()
 Cleans up the ai node.
Management
deAINodeGetParentNode () const
 Retrieves the parent node or NULL.
void SetParentNode (deAINode *node)
 Sets the parent node or NULL.
Visiting
virtual void Visit (deAINodeVisitor *visitor)
 Visits the rule.

Detailed Description

AI Node Class.

Base class for all AI Nodes. Keeps a weak reference to the parent node for modifying the tree. Nodes have to tell their parents if they have been processed or not. This is especially important for nodes with conditions. If they are skipped due to the condition they are considered to not have run. If they execute they are considered to have run.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Constructor & Destructor Documentation

deAINode::deAINode (  )

Creates a new ai node.

virtual deAINode::~deAINode (  ) [virtual]

Cleans up the ai node.


Member Function Documentation

deAINode* deAINode::GetParentNode (  ) const [inline]

Retrieves the parent node or NULL.

void deAINode::SetParentNode ( deAINode node )

Sets the parent node or NULL.

virtual void deAINode::Visit ( deAINodeVisitor visitor ) [virtual]

Visits the rule.

Reimplemented in deAINodeChain, deAINodeModifyAnimator, and deAINodeSendEvent.


The documentation for this class was generated from the following file: