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