summaryrefslogtreecommitdiffstats
path: root/source/cFurnaceWindow.h
blob: ccaa5a97cdabadd8a8e589d53de6f295ab99b33f (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
36
37

#pragma once

#include "cWindow.h"





class cFurnaceEntity;
class cWindowOwner;





class cFurnaceWindow :
	public cWindow
{
public:
	cFurnaceWindow( cFurnaceEntity* a_Owner );

	virtual void Clicked(
		cPlayer & a_Player, 
		int a_WindowID, short a_SlotNum, bool a_IsRightClick, bool a_IsShiftPressed, 
		const cItem & a_HeldItem
	) override;
	
	virtual void Close( cPlayer & a_Player ) override;
	
private:
	cFurnaceEntity * m_Furnace;
};