summaryrefslogtreecommitdiffstats
path: root/src/UI/CraftingWindow.h
blob: 9107d8d08063ba35595cfe75f2ed444aa570b372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

// 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));
	}
};