diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Components/AIAggressiveComponent.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Mobs/Components/AIAggressiveComponent.h b/src/Mobs/Components/AIAggressiveComponent.h index 2cea452c5..98854aeab 100644 --- a/src/Mobs/Components/AIAggressiveComponent.h +++ b/src/Mobs/Components/AIAggressiveComponent.h @@ -6,7 +6,11 @@ class cEntity; class cAIAggressiveComponent : public cAIComponent { typedef cAIComponent super; protected: + enum MState{ATTACKING, IDLE, CHASING, ESCAPING} m_EMState; + cEntity * m_Target; public: cAIAggressiveComponent(cMonster * a_Monster); - virtual void Tick(float a_Dt, cChunk & a_Chunk) /*override*/; + + virtual void Tick(float a_Dt, cChunk & a_Chunk) override; + }; |