summaryrefslogtreecommitdiffstats
path: root/source/DispenserEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/DispenserEntity.h')
-rw-r--r--source/DispenserEntity.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/DispenserEntity.h b/source/DispenserEntity.h
index 8f2e89833..9e69878b3 100644
--- a/source/DispenserEntity.h
+++ b/source/DispenserEntity.h
@@ -45,9 +45,14 @@ public:
const cItem * GetSlot(int i) const { return &(m_Items[i]); }
void SetSlot(int a_Slot, const cItem & a_Item);
+
+ void Activate();
private:
cItem * m_Items;
+ bool m_CanDispense;
+
+ void Dispense();
};