diff options
Diffstat (limited to 'src/UI/InventoryWindow.h')
-rw-r--r-- | src/UI/InventoryWindow.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/UI/InventoryWindow.h b/src/UI/InventoryWindow.h index 052439f40..4b89a9a3f 100644 --- a/src/UI/InventoryWindow.h +++ b/src/UI/InventoryWindow.h @@ -15,19 +15,24 @@ -class cInventoryWindow: - public cWindow +class cInventoryWindow : public cWindow { using Super = cWindow; -public: - + public: cInventoryWindow(cPlayer & a_Player); - virtual void DistributeStack(cItem & a_ItemStack, int a_Slot, cPlayer & a_Player, cSlotArea * a_ClickedArea, bool a_ShouldApply) override; + virtual void DistributeStack( + cItem & a_ItemStack, + int a_Slot, + cPlayer & a_Player, + cSlotArea * a_ClickedArea, + bool a_ShouldApply + ) override; /** Loads the given Recipe into the crafting grid */ void LoadRecipe(cPlayer & a_Player, UInt32 a_RecipeId); -protected: + + protected: cPlayer & m_Player; }; |