summaryrefslogtreecommitdiffstats
path: root/src/Entities/Painting.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/Entities/Painting.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/Entities/Painting.h')
-rw-r--r--src/Entities/Painting.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/Entities/Painting.h b/src/Entities/Painting.h
index f6ca5f000..8ad597b8d 100644
--- a/src/Entities/Painting.h
+++ b/src/Entities/Painting.h
@@ -8,15 +8,13 @@
// tolua_begin
-class cPainting :
- public cHangingEntity
+class cPainting : public cHangingEntity
{
// tolua_end
using Super = cHangingEntity;
-public: // tolua_export
-
+ public: // tolua_export
CLASS_PROTODEF(cPainting)
cPainting(const AString & a_Name, eBlockFace a_Direction, Vector3d a_Pos);
@@ -24,8 +22,7 @@ public: // tolua_export
/** Returns the protocol name of the painting */
const AString & GetName(void) const { return m_Name; } // tolua_export
-private:
-
+ private:
virtual void SpawnOn(cClientHandle & a_Client) override;
virtual void GetDrops(cItems & a_Items, cEntity * a_Killer) override;
virtual void KilledBy(TakeDamageInfo & a_TDI) override;
@@ -33,7 +30,3 @@ private:
AString m_Name;
}; // tolua_export
-
-
-
-