summaryrefslogtreecommitdiffstats
path: root/source/DropperEntity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/DropperEntity.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/DropperEntity.h b/source/DropperEntity.h
index 5f338dee8..ed29bfe95 100644
--- a/source/DropperEntity.h
+++ b/source/DropperEntity.h
@@ -35,7 +35,13 @@ public:
protected:
// cDropSpenserEntity overrides:
- virtual void DropSpenseFromSlot(int a_SlotNum) override;
+ virtual void DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum) override;
+
+ /** Takes an item from slot a_SlotNum and puts it into the container in front of the dropper.
+ Called when there's a container directly in front of the dropper,
+ so the dropper should store items there, rather than dropping.
+ */
+ void PutIntoContainer(cChunk & a_Chunk, int a_SlotNum, BLOCKTYPE a_ContainerBlock, int a_ContainerX, int a_ContainerY, int a_ContainerZ);
} ; // tolua_export