summaryrefslogtreecommitdiffstats
path: root/source/cSheep.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/cSheep.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/cSheep.h')
-rw-r--r--source/cSheep.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/cSheep.h b/source/cSheep.h
new file mode 100644
index 000000000..948df55f4
--- /dev/null
+++ b/source/cSheep.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "cMonster.h"
+
+class cSheep : public cMonster
+{
+public:
+ cSheep();
+ ~cSheep();
+
+ virtual bool IsA( const char* a_EntityType );
+
+ 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;
+};