diff options
Diffstat (limited to 'src/Mobs/Cow.h')
-rw-r--r-- | src/Mobs/Cow.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/Mobs/Cow.h b/src/Mobs/Cow.h index 8f79e630f..b12da9030 100644 --- a/src/Mobs/Cow.h +++ b/src/Mobs/Cow.h @@ -1,16 +1,17 @@ - #pragma once -#include "PassiveMonster.h" - - - - +#include "Behaviors/BehaviorBreeder.h" +#include "Behaviors/BehaviorItemFollower.h" +#include "Behaviors/BehaviorItemReplacer.h" +#include "Behaviors/BehaviorCoward.h" +#include "Behaviors/BehaviorWanderer.h" +#include "Monster.h" class cCow : public cMonster { public: cCow(); + ~cCow() {} typedef cMonster super; CLASS_PROTODEF(cCow) @@ -25,11 +26,14 @@ public: virtual cBehaviorBreeder * GetBehaviorBreeder() override; virtual const cBehaviorBreeder * GetBehaviorBreeder() const override; private: + // Tick controlling behaviors cBehaviorBreeder m_BehaviorBreeder; cBehaviorItemFollower m_BehaviorItemFollower; cBehaviorCoward m_BehaviorCoward; - cBehaviorWanderer m_BehaviorWanderer; + cBehaviorItemReplacer m_BehaviorWanderer; + // Non tick controlling behaviors + cBehaviorWanderer m_BehaviorItemReplacer; } ; |