diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Painting.h | 13 |
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 - - - - |