summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Ghast.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Mobs/Ghast.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.gz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.bz2
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.lz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.xz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.zst
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.zip
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;
-} ;
+};