blob: 4ccbea69c0fe2a0e2efc20ebcbd5a72d6226b265 (
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() const;
virtual void setChanged();
virtual bool canPlaceItem(int slot, shared_ptr<ItemInstance> item);
};
|