2012-08-18 05:56:28 -04:00
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "cWindow.h"
|
|
|
|
|
2012-08-18 05:56:28 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
class cFurnaceEntity;
|
|
|
|
class cWindowOwner;
|
2012-08-18 05:56:28 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class cFurnaceWindow :
|
|
|
|
public cWindow
|
2012-06-14 09:06:06 -04:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
cFurnaceWindow( cFurnaceEntity* a_Owner );
|
|
|
|
|
2012-08-18 05:56:28 -04:00
|
|
|
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;
|
|
|
|
|
2012-06-14 09:06:06 -04:00
|
|
|
private:
|
2012-08-18 05:56:28 -04:00
|
|
|
cFurnaceEntity * m_Furnace;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|