diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-26 16:39:04 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-26 16:39:04 +0200 |
commit | 5c3235ecdc3f718ce20e006f1ecfa2159df82c87 (patch) | |
tree | aea2e4a722715498c59b0a828486b30b74506bb5 /source/UI/SlotArea.h | |
parent | ItemGrid: Added the RemoveOneItem() function (diff) | |
download | cuberite-5c3235ecdc3f718ce20e006f1ecfa2159df82c87.tar cuberite-5c3235ecdc3f718ce20e006f1ecfa2159df82c87.tar.gz cuberite-5c3235ecdc3f718ce20e006f1ecfa2159df82c87.tar.bz2 cuberite-5c3235ecdc3f718ce20e006f1ecfa2159df82c87.tar.lz cuberite-5c3235ecdc3f718ce20e006f1ecfa2159df82c87.tar.xz cuberite-5c3235ecdc3f718ce20e006f1ecfa2159df82c87.tar.zst cuberite-5c3235ecdc3f718ce20e006f1ecfa2159df82c87.zip |
Diffstat (limited to '')
-rw-r--r-- | source/UI/SlotArea.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/UI/SlotArea.h b/source/UI/SlotArea.h index 2b56f3228..8358f5316 100644 --- a/source/UI/SlotArea.h +++ b/source/UI/SlotArea.h @@ -15,7 +15,7 @@ class cWindow;
class cPlayer;
class cChestEntity;
-class cDispenserEntity;
+class cDropSpenserEntity;
class cFurnaceEntity;
class cCraftingRecipe;
@@ -250,20 +250,19 @@ protected: -class cSlotAreaDispenser :
+class cSlotAreaDropSpenser :
public cSlotArea
{
typedef cSlotArea super;
public:
- cSlotAreaDispenser(cDispenserEntity * a_Dispenser, cWindow & a_ParentWindow);
+ cSlotAreaDropSpenser(cDropSpenserEntity * a_DropSpenser, cWindow & a_ParentWindow);
- virtual void Clicked(cPlayer & a_Player, int a_SlotNum, eClickAction a_ClickAction, const cItem & a_ClickedItem) override;
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:
- cDispenserEntity * m_Dispenser;
+ cDropSpenserEntity * m_DropSpenser;
} ;
|