diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-30 21:59:35 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-30 21:59:35 +0200 |
commit | 89b1bbdc5fca5a51df1a5dd18ce91f27cb667c04 (patch) | |
tree | 7d22e13df345884785abbc167a4818235fd61e0a /src/UI/Window.h | |
parent | Merged branch 'howaner/Options'. (diff) | |
download | cuberite-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.h | 21 |
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 { |