summaryrefslogtreecommitdiffstats
path: root/src/Mobs/MagmaCube.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/MagmaCube.h')
-rw-r--r--src/Mobs/MagmaCube.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Mobs/MagmaCube.h b/src/Mobs/MagmaCube.h
index 07794cc5a..bf1be2e19 100644
--- a/src/Mobs/MagmaCube.h
+++ b/src/Mobs/MagmaCube.h
@@ -6,13 +6,11 @@
-class cMagmaCube:
- public cAggressiveMonster
+class cMagmaCube : public cAggressiveMonster
{
using Super = cAggressiveMonster;
-public:
-
+ public:
/** Creates a MagmaCube of the specified size; with 1 being the smallest */
cMagmaCube(int a_Size);
@@ -24,11 +22,10 @@ public:
Returns either "big" or "small". */
static AString GetSizeName(int a_Size);
-private:
-
+ private:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual bool IsNetherNative(void) override { return true; }
/** Size of the MagmaCube, with 1 being the smallest */
int m_Size;
-} ;
+};