summaryrefslogtreecommitdiffstats
path: root/src/UI/ChestWindow.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/UI/ChestWindow.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/UI/ChestWindow.h b/src/UI/ChestWindow.h
index 18f330519..fb45f12da 100644
--- a/src/UI/ChestWindow.h
+++ b/src/UI/ChestWindow.h
@@ -15,13 +15,11 @@
-class cChestWindow:
- public cWindow
+class cChestWindow : public cWindow
{
using Super = cWindow;
-public:
-
+ public:
cChestWindow(cChestEntity * a_Chest);
cChestWindow(cChestEntity * a_PrimaryChest, cChestEntity * a_SecondaryChest);
@@ -32,15 +30,17 @@ public:
virtual void OpenedByPlayer(cPlayer & a_Player) override;
- 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;
-protected:
+ protected:
cWorld * m_World;
Vector3i m_BlockPos; // Position of the chest, for the window-close packet
cChestEntity * m_PrimaryChest;
cChestEntity * m_SecondaryChest;
};
-
-
-
-