diff options
Diffstat (limited to 'source/cCavespider.h')
-rw-r--r-- | source/cCavespider.h | 31 |
1 files changed, 12 insertions, 19 deletions
diff --git a/source/cCavespider.h b/source/cCavespider.h index 4709e3392..0630351f0 100644 --- a/source/cCavespider.h +++ b/source/cCavespider.h @@ -1,22 +1,15 @@ -#pragma once
-
-#include "cMonster.h"
-
-class cCavespider : public cMonster
-{
-public:
- cCavespider();
+#pragma once + +#include "cAggressiveMonster.h" + +class cCavespider : public cAggressiveMonster +{ +public: + cCavespider(); ~cCavespider(); - virtual bool IsA( const char* a_EntityType );
- virtual void GetMonsterConfig(const char* pm_name);
-
- virtual void Tick(float a_Dt);
- virtual void KilledBy( cEntity* a_Killer );
- virtual void InStateIdle(float a_Dt);
- virtual void InStateChasing(float a_Dt);
- virtual void InStateEscaping(float a_Dt);
- //float m_ChaseTime;
-protected:
- float m_ChaseTime;
+ virtual bool IsA( const char* a_EntityType ); + + virtual void Tick(float a_Dt); + virtual void KilledBy( cEntity* a_Killer ); }; |