summaryrefslogtreecommitdiffstats
path: root/source/cSlime.h
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-26 01:46:01 +0200
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-10-26 01:46:01 +0200
commita26a0e3825bb337a4be0f0c7f171e4cbd450bded (patch)
treec9c188bb5895275ec6814df5897c1097e404fac0 /source/cSlime.h
parentUsing SSE instructions for noise (terrain generation) (diff)
downloadcuberite-a26a0e3825bb337a4be0f0c7f171e4cbd450bded.tar
cuberite-a26a0e3825bb337a4be0f0c7f171e4cbd450bded.tar.gz
cuberite-a26a0e3825bb337a4be0f0c7f171e4cbd450bded.tar.bz2
cuberite-a26a0e3825bb337a4be0f0c7f171e4cbd450bded.tar.lz
cuberite-a26a0e3825bb337a4be0f0c7f171e4cbd450bded.tar.xz
cuberite-a26a0e3825bb337a4be0f0c7f171e4cbd450bded.tar.zst
cuberite-a26a0e3825bb337a4be0f0c7f171e4cbd450bded.zip
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;
+};