25 #ifndef PEGASUS_AI_AIRULE_H 26 #define PEGASUS_AI_AIRULE_H 28 #include "common/list.h" 30 #include "pegasus/ai/ai_action.h" 31 #include "pegasus/ai/ai_condition.h" 46 _ruleCondition = condition;
53 delete _ruleCondition;
61 void activateRule() { _ruleActive =
true; }
62 void deactivateRule() { _ruleActive =
false; }
63 bool isRuleActive() {
return _ruleActive; }
Definition: algorithm.h:29
Definition: ai_condition.h:41
Definition: ai_action.h:42
Definition: ai_action.h:33