summaryrefslogtreecommitdiffstats
path: root/src/Entities/ItemFrame.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-21 22:02:30 +0200
committerMattes D <github@xoft.cz>2014-10-21 22:02:30 +0200
commita42fa071bc3ac1615e7c9b9d59fb4c882cc6097d (patch)
treeecd4214f8c2c11abb7bc0ff87cef26dd79ee6063 /src/Entities/ItemFrame.h
parentFixed trailing whitespace. (diff)
downloadcuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.gz
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.bz2
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.lz
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.xz
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.tar.zst
cuberite-a42fa071bc3ac1615e7c9b9d59fb4c882cc6097d.zip
Diffstat (limited to 'src/Entities/ItemFrame.h')
-rw-r--r--src/Entities/ItemFrame.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/Entities/ItemFrame.h b/src/Entities/ItemFrame.h
index a63b78b70..3642662f9 100644
--- a/src/Entities/ItemFrame.h
+++ b/src/Entities/ItemFrame.h
@@ -11,26 +11,31 @@
class cItemFrame :
public cHangingEntity
{
- // tolua_end
typedef cHangingEntity super;
public:
+ // tolua_end
+
CLASS_PROTODEF(cItemFrame)
cItemFrame(eBlockFace a_BlockFace, double a_X, double a_Y, double a_Z);
+ // tolua_begin
+
/** Returns the item in the frame */
- const cItem & GetItem(void) { return m_Item; } // tolua_export
+ const cItem & GetItem(void) { return m_Item; }
/** Set the item in the frame */
- void SetItem(cItem & a_Item) { m_Item = a_Item; } // tolua_export
+ void SetItem(cItem & a_Item) { m_Item = a_Item; }
/** Returns the rotation from the item in the frame */
- Byte GetRotation(void) const { return m_Rotation; } // tolua_export
+ Byte GetItemRotation(void) const { return m_ItemRotation; }
/** Set the rotation from the item in the frame */
- void SetRotation(Byte a_Rotation) { m_Rotation = a_Rotation; } // tolua_export
+ void SetRotation(Byte a_ItemRotation) { m_ItemRotation = a_ItemRotation; }
+
+ // tolua_end
private:
@@ -39,7 +44,7 @@ private:
virtual void GetDrops(cItems & a_Items, cEntity * a_Killer) override;
cItem m_Item;
- Byte m_Rotation;
+ Byte m_ItemRotation;
}; // tolua_export