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