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.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/Mobs/Enderman.h b/src/Mobs/Enderman.h
index 1e2a6f52e..6bd0be193 100644
--- a/src/Mobs/Enderman.h
+++ b/src/Mobs/Enderman.h
@@ -7,13 +7,11 @@
-class cEnderman:
- public cPassiveAggressiveMonster
+class cEnderman : public cPassiveAggressiveMonster
{
using Super = cPassiveAggressiveMonster;
-public:
-
+ public:
cEnderman();
CLASS_PROTODEF(cEnderman)
@@ -23,14 +21,12 @@ public:
virtual void EventLosePlayer(void) override;
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
- bool IsScreaming(void) const {return m_bIsScreaming; }
- BLOCKTYPE GetCarriedBlock(void) const {return m_CarriedBlock; }
- NIBBLETYPE GetCarriedMeta(void) const {return m_CarriedMeta; }
-
-private:
+ bool IsScreaming(void) const { return m_bIsScreaming; }
+ BLOCKTYPE GetCarriedBlock(void) const { return m_CarriedBlock; }
+ NIBBLETYPE GetCarriedMeta(void) const { return m_CarriedMeta; }
+ private:
bool m_bIsScreaming;
BLOCKTYPE m_CarriedBlock;
NIBBLETYPE m_CarriedMeta;
-
-} ;
+};