summaryrefslogtreecommitdiffstats
path: root/source/UI/SlotArea.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/UI/SlotArea.h')
-rw-r--r--source/UI/SlotArea.h18
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
{