summaryrefslogtreecommitdiffstats
path: root/source/cWindowOwner.h
diff options
context:
space:
mode:
authormtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-29 14:16:23 +0100
committermtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-12-29 14:16:23 +0100
commitc4f4ae5c7122c58af239a01328c168627ed68e27 (patch)
treea14c16b0e2b270caa465892a0d2a60adf2e3d78e /source/cWindowOwner.h
parent- Pickups should now burn in fire (diff)
downloadcuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.gz
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.bz2
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.lz
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.xz
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.tar.zst
cuberite-c4f4ae5c7122c58af239a01328c168627ed68e27.zip
Diffstat (limited to '')
-rw-r--r--source/cWindowOwner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cWindowOwner.h b/source/cWindowOwner.h
index b60b97b6c..fed44d2d1 100644
--- a/source/cWindowOwner.h
+++ b/source/cWindowOwner.h
@@ -3,6 +3,7 @@
#include "MemoryLeak.h"
class cWindow;
+class cBlockEntity;
class cWindowOwner
{
public:
@@ -11,6 +12,10 @@ public:
void OpenWindow( cWindow* a_Window ) { m_Window = a_Window; }
cWindow* GetWindow() { return m_Window; }
+
+ void SetEntity(cBlockEntity *a_Entity) { m_Entity = a_Entity; }
+ cBlockEntity *GetEntity() { return m_Entity; }
private:
cWindow* m_Window;
+ cBlockEntity *m_Entity;
}; \ No newline at end of file