summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Slime.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/Slime.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/Mobs/Slime.h')
-rw-r--r--src/Mobs/Slime.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/Mobs/Slime.h b/src/Mobs/Slime.h
index e1be964eb..1bbaa28f2 100644
--- a/src/Mobs/Slime.h
+++ b/src/Mobs/Slime.h
@@ -7,13 +7,11 @@
-class cSlime:
- public cAggressiveMonster
+class cSlime : public cAggressiveMonster
{
using Super = cAggressiveMonster;
-public:
-
+ public:
/** Creates a slime of the specified size; size can be 1, 2 or 4, with 1 is the smallest and 4 is the tallest. */
cSlime(int a_Size);
@@ -30,13 +28,8 @@ public:
Returns either "big" or "small". */
static AString GetSizeName(int a_Size);
-protected:
-
+ protected:
/** Size of the slime, with 1 being the smallest.
Vanilla uses sizes 1, 2 and 4 only. */
int m_Size;
-} ;
-
-
-
-
+};