summaryrefslogtreecommitdiffstats
path: root/source/cSilverfish.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cSilverfish.h')
-rw-r--r--source/cSilverfish.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/source/cSilverfish.h b/source/cSilverfish.h
index 471a0274d..0a949c7e3 100644
--- a/source/cSilverfish.h
+++ b/source/cSilverfish.h
@@ -1,22 +1,12 @@
#pragma once
-#include "cMonster.h"
+#include "cAggressiveMonster.h"
-class cSilverfish : public cMonster
+class cSilverfish : public cAggressiveMonster
{
public:
cSilverfish();
- ~cSilverfish();
-
- virtual bool IsA( const char* a_EntityType );
- virtual void GetMonsterConfig(const char* pm_name);
+ ~cSilverfish();
- 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 );
+};