1
0
Fork 0
cuberite-2a/src/UI/CraftingWindow.h

36 lines
476 B
C++

// CraftingWindow.h
// Representing the UI window for the crafting block
#pragma once
#include "Window.h"
class cCraftingWindow :
public cWindow
{
typedef cWindow super;
public:
cCraftingWindow(int a_BlockX, int a_BlockY, int a_BlockZ) :
cWindow(wtWorkbench, "Crafting Table")
{
m_SlotAreas.push_back(new cSlotAreaCrafting(3, *this));
m_SlotAreas.push_back(new cSlotAreaInventory(*this));
m_SlotAreas.push_back(new cSlotAreaHotBar(*this));
}
};