diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-08 06:01:06 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-01-08 06:01:06 +0100 |
commit | 71d71410fdeb4b47e543758186cdbee19a2baf6b (patch) | |
tree | 24c00994262179d2d658d637ef45beceafdd5d6b /source/UI/SlotArea.h | |
parent | Fixed disappearing pickups - wrong physics simulation. (diff) | |
download | cuberite-71d71410fdeb4b47e543758186cdbee19a2baf6b.tar cuberite-71d71410fdeb4b47e543758186cdbee19a2baf6b.tar.gz cuberite-71d71410fdeb4b47e543758186cdbee19a2baf6b.tar.bz2 cuberite-71d71410fdeb4b47e543758186cdbee19a2baf6b.tar.lz cuberite-71d71410fdeb4b47e543758186cdbee19a2baf6b.tar.xz cuberite-71d71410fdeb4b47e543758186cdbee19a2baf6b.tar.zst cuberite-71d71410fdeb4b47e543758186cdbee19a2baf6b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/UI/SlotArea.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/UI/SlotArea.h b/source/UI/SlotArea.h index 50c7e0c28..fff9f46cc 100644 --- a/source/UI/SlotArea.h +++ b/source/UI/SlotArea.h @@ -232,6 +232,24 @@ protected: +class cSlotAreaDoubleChest :
+ public cSlotArea
+{
+public:
+ cSlotAreaDoubleChest(cChestEntity * a_TopChest, cChestEntity * a_BottomChest, cWindow & a_ParentWindow);
+
+ virtual const cItem * GetSlot(int a_SlotNum, cPlayer & a_Player) override;
+ virtual void SetSlot(int a_SlotNum, cPlayer & a_Player, const cItem & a_Item) override;
+
+protected:
+ cChestEntity * m_TopChest;
+ cChestEntity * m_BottomChest;
+} ;
+
+
+
+
+
class cSlotAreaDispenser :
public cSlotArea
{
|