2014-12-13 14:06:55 +00:00
|
|
|
|
|
|
|
// InventoryWindow.h
|
|
|
|
|
|
|
|
// Representing the UI window for the player inventory
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Window.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cInventoryWindow :
|
|
|
|
public cWindow
|
|
|
|
{
|
|
|
|
typedef cWindow super;
|
|
|
|
|
|
|
|
public:
|
2015-03-10 18:40:53 +00: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 21:45:45 +00:00
|
|
|
|
2014-12-13 14:06:55 +00:00
|
|
|
protected:
|
|
|
|
cPlayer & m_Player;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|