aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/EnchantmentContainer.h
blob: 8b337f48716f223907ad681857d60dbd426d9964 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
// 4J Stu Added
// In EnchantmentMenu.java they create an anoymous class while creating the container. I have moved the content
// of that anonymous class to here

#include "SimpleContainer.h"

class EnchantmentMenu;

class EnchantmentContainer : public SimpleContainer
{
private:
	EnchantmentMenu *m_menu;
public:
	EnchantmentContainer(EnchantmentMenu *menu);
	virtual int getMaxStackSize();
	virtual void setChanged();
	virtual bool canPlaceItem(int slot, shared_ptr<ItemInstance> item);
};