summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Creeper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Creeper.h')
-rw-r--r--src/Mobs/Creeper.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/Mobs/Creeper.h b/src/Mobs/Creeper.h
index 5a21cca2a..825f1e07b 100644
--- a/src/Mobs/Creeper.h
+++ b/src/Mobs/Creeper.h
@@ -7,13 +7,11 @@
-class cCreeper:
- public cAggressiveMonster
+class cCreeper : public cAggressiveMonster
{
using Super = cAggressiveMonster;
-public:
-
+ public:
cCreeper();
CLASS_PROTODEF(cCreeper)
@@ -24,17 +22,11 @@ public:
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
virtual void OnRightClicked(cPlayer & a_Player) override;
- bool IsBlowing(void) const {return m_bIsBlowing; }
- bool IsCharged(void) const {return m_bIsCharged; }
- bool IsBurnedWithFlintAndSteel(void) const {return m_BurnedWithFlintAndSteel; }
-
-private:
+ bool IsBlowing(void) const { return m_bIsBlowing; }
+ bool IsCharged(void) const { return m_bIsCharged; }
+ bool IsBurnedWithFlintAndSteel(void) const { return m_BurnedWithFlintAndSteel; }
+ private:
bool m_bIsBlowing, m_bIsCharged, m_BurnedWithFlintAndSteel;
int m_ExplodingTimer;
-
-} ;
-
-
-
-
+};