summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Enderman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Enderman.h')
-rw-r--r--src/Mobs/Enderman.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/Mobs/Enderman.h b/src/Mobs/Enderman.h
index 4583746e7..b7a547c67 100644
--- a/src/Mobs/Enderman.h
+++ b/src/Mobs/Enderman.h
@@ -1,34 +1,28 @@
#pragma once
-#include "PassiveAggressiveMonster.h"
+#include "Monster.h"
class cEnderman :
- public cPassiveAggressiveMonster
+ public cMonster
{
- typedef cPassiveAggressiveMonster super;
+ typedef cMonster super;
public:
cEnderman(void);
CLASS_PROTODEF(cEnderman)
- virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
- virtual void CheckEventSeePlayer(void) override;
- virtual void CheckEventLostPlayer(void) override;
- virtual void EventLosePlayer(void) override;
+ virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) /*override*/;
bool IsScreaming(void) const {return m_bIsScreaming; }
BLOCKTYPE GetCarriedBlock(void) const {return CarriedBlock; }
NIBBLETYPE GetCarriedMeta(void) const {return CarriedMeta; }
- /** Returns if the current sky light level is sufficient for the enderman to become aggravated */
- bool CheckLight(void);
-
private:
bool m_bIsScreaming;