summaryrefslogtreecommitdiffstats
path: root/src/Mobs/ZombiePigman.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/ZombiePigman.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 '')
-rw-r--r--src/Mobs/ZombiePigman.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Mobs/ZombiePigman.h b/src/Mobs/ZombiePigman.h
index 93535a3ce..7ccff687e 100644
--- a/src/Mobs/ZombiePigman.h
+++ b/src/Mobs/ZombiePigman.h
@@ -6,22 +6,19 @@
-class cZombiePigman:
- public cPassiveAggressiveMonster
+class cZombiePigman : public cPassiveAggressiveMonster
{
using Super = cPassiveAggressiveMonster;
-public:
-
+ public:
cZombiePigman();
CLASS_PROTODEF(cZombiePigman)
-private:
-
+ private:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual bool IsUndead(void) override { return true; }
virtual bool IsNetherNative(void) override { return true; }
virtual void KilledBy(TakeDamageInfo & a_TDI) override;
virtual void SpawnOn(cClientHandle & a_ClientHandle) override;
-} ;
+};