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