summaryrefslogtreecommitdiffstats
path: root/source/cWindowOwner.h
diff options
context:
space:
mode:
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