2014-12-13 14:06:55 +00:00
|
|
|
|
|
|
|
// DropSpenserWindow.h
|
|
|
|
|
2015-05-09 07:25:09 +00:00
|
|
|
// Representing the UI window for the dropper / dispenser block
|
2014-12-13 14:06:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Window.h"
|
|
|
|
#include "../BlockEntities/DropSpenserEntity.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cDropSpenserWindow :
|
|
|
|
public cWindow
|
|
|
|
{
|
2020-04-13 16:38:06 +00:00
|
|
|
using Super = cWindow;
|
2014-12-13 14:06:55 +00:00
|
|
|
|
|
|
|
public:
|
2019-09-29 12:59:24 +00:00
|
|
|
cDropSpenserWindow(cDropSpenserEntity * a_DropSpenser);
|
2015-03-10 18:40:53 +00:00
|
|
|
|
|
|
|
virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override;
|
2014-12-13 14:06:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|