1
0
cuberite-2a/src/UI/InventoryWindow.h

36 lines
418 B
C
Raw Normal View History

2014-12-13 09:06:55 -05:00
// InventoryWindow.h
// Representing the UI window for the player inventory
#pragma once
#include "Window.h"
2020-04-13 12:38:06 -04:00
class cInventoryWindow:
2014-12-13 09:06:55 -05:00
public cWindow
{
2020-04-13 12:38:06 -04:00
using Super = cWindow;
2014-12-13 09:06:55 -05:00
public:
2020-04-13 12:38:06 -04:00
2015-03-10 14:40:53 -04:00
cInventoryWindow(cPlayer & a_Player);
virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override;
2016-02-05 16:45:45 -05:00
2014-12-13 09:06:55 -05:00
protected:
cPlayer & m_Player;
};