summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Ghast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Ghast.h')
-rw-r--r--src/Mobs/Ghast.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Mobs/Ghast.h b/src/Mobs/Ghast.h
index 755ec3b89..64184bac0 100644
--- a/src/Mobs/Ghast.h
+++ b/src/Mobs/Ghast.h
@@ -7,21 +7,18 @@
-class cGhast:
- public cAggressiveMonster
+class cGhast : public cAggressiveMonster
{
using Super = cAggressiveMonster;
-public:
-
+ public:
cGhast();
CLASS_PROTODEF(cGhast)
bool IsCharging(void) const { return m_IsCharging; }
-private:
-
+ private:
virtual bool Attack(std::chrono::milliseconds a_Dt) override;
virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override;
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
@@ -37,4 +34,4 @@ private:
/** Number of ticks until a projectile is created.
Only used while m_IsCharging is true. */
int m_TicksUntilShot;
-} ;
+};