summaryrefslogtreecommitdiffstats
path: root/source/cSlime.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cSlime.h')
-rw-r--r--source/cSlime.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/source/cSlime.h b/source/cSlime.h
new file mode 100644
index 000000000..5f492ebe6
--- /dev/null
+++ b/source/cSlime.h
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "cMonster.h"
+
+class cSlime : public cMonster
+{
+public:
+ cSlime();
+ ~cSlime();
+
+ 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;
+};