summaryrefslogtreecommitdiffstats
path: root/src/UI/Window.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-30 21:59:35 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-30 21:59:35 +0200
commit89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04 (patch)
tree7d22e13df345884785abbc167a4818235fd61e0a /src/UI/Window.h
parentMerged branch 'howaner/Options'. (diff)
downloadcuberite-89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04.tar
cuberite-89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04.tar.gz
cuberite-89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04.tar.bz2
cuberite-89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04.tar.lz
cuberite-89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04.tar.xz
cuberite-89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04.tar.zst
cuberite-89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04.zip
Diffstat (limited to 'src/UI/Window.h')
-rw-r--r--src/UI/Window.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/UI/Window.h b/src/UI/Window.h
index 97db0ca88..9fb0e3b38 100644
--- a/src/UI/Window.h
+++ b/src/UI/Window.h
@@ -23,6 +23,7 @@ class cDropSpenserEntity;
class cEnderChestEntity;
class cFurnaceEntity;
class cHopperEntity;
+class cBeaconEntity;
class cSlotArea;
class cSlotAreaAnvil;
class cWorld;
@@ -258,6 +259,26 @@ protected:
+class cBeaconWindow :
+ public cWindow
+{
+ typedef cWindow super;
+public:
+ cBeaconWindow(int a_BlockX, int a_BlockY, int a_BlockZ, cBeaconEntity * a_Beacon);
+
+ cBeaconEntity * GetBeaconEntity(void) const { return m_Beacon; }
+
+ // cWindow Overrides:
+ virtual void OpenedByPlayer(cPlayer & a_Player) override;
+
+protected:
+ cBeaconEntity * m_Beacon;
+} ;
+
+
+
+
+
class cEnchantingWindow :
public cWindow
{