summaryrefslogtreecommitdiffstats
path: root/source/cEnderman.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cEnderman.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/source/cEnderman.h b/source/cEnderman.h
index 56d3f87bd..75b1b22a8 100644
--- a/source/cEnderman.h
+++ b/source/cEnderman.h
@@ -1,22 +1,15 @@
#pragma once
-#include "cMonster.h"
+#include "cPassiveAggressiveMonster.h"
-class cEnderman : public cMonster
+class cEnderman : public cPassiveAggressiveMonster
{
public:
cEnderman();
- ~cEnderman();
-
+ ~cEnderman();
+
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;
-};
+};