2014-12-13 09:06:55 -05:00
|
|
|
|
|
|
|
// DropSpenserWindow.h
|
|
|
|
|
2015-05-09 03:25:09 -04:00
|
|
|
// Representing the UI window for the dropper / dispenser block
|
2014-12-13 09:06:55 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Window.h"
|
|
|
|
#include "../BlockEntities/DropSpenserEntity.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cDropSpenserWindow :
|
|
|
|
public cWindow
|
|
|
|
{
|
|
|
|
typedef cWindow super;
|
|
|
|
|
|
|
|
public:
|
2015-03-10 14:40:53 -04:00
|
|
|
cDropSpenserWindow(int a_BlockX, int a_BlockY, int a_BlockZ, cDropSpenserEntity * a_DropSpenser);
|
|
|
|
|
|
|
|
virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override;
|
2014-12-13 09:06:55 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|