18 bool evaluate(
const AIPtr& entity)
override;
A condition can be placed on a TreeNode to decide which node is going to get executed. In general they are stateless. If they are not, it should explicitly get noted.
Definition: ICondition.h:124
#define CONDITION_CLASS_SINGLETON(ConditionName)
Macro to create a singleton conditions for very easy conditions without a state.
Definition: ICondition.h:88
bool evaluate(const AIPtr &entity) override
Checks whether the condition evaluates to true for the given entity.
Definition: True.h:21
This condition just always evaluates to true.
Definition: True.h:14