SimpleAI
 All Classes Namespaces Files Functions Variables Typedefs Macros Groups Pages
Classes | Macros
ITimedNode.h File Reference
#include "tree/TreeNode.h"
#include <stdlib.h>
Include dependency graph for ITimedNode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ai::ITimedNode
 A timed node is a TreeNode that is executed until a given time (millis) is elapsed. More...
 

Macros

#define NOTSTARTED   -1
 
#define TIMERNODE_CLASS(NodeName)
 

Macro Definition Documentation

#define TIMERNODE_CLASS (   NodeName)
Value:
NodeName(const std::string& name, const std::string& parameters, const ConditionPtr& condition) : \
ITimedNode(name, parameters, condition) { \
_type = AI_STRINGIFY(NodeName); \
} \
virtual ~NodeName() { \
} \
NODE_FACTORY(NodeName)
#define NODE_FACTORY(NodeName)
A node factory macro to ease and unify the registration at AIRegistry.
Definition: TreeNode.h:54