the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 24 lines 662 B view raw
1#pragma once 2// 4J Stu Added 3// In InventoryMenu.java they create an anoymous class while creating some slot. I have moved the content 4// of that anonymous class to here 5 6#include "Slot.h" 7 8class Container; 9 10class ArmorSlot : public Slot 11{ 12private: 13 const int slotNum; 14 15public: 16 ArmorSlot(int slotNum, shared_ptr<Container> container, int id, int x, int y); 17 virtual ~ArmorSlot() {} 18 19 virtual int getMaxStackSize() const; 20 virtual bool mayPlace(shared_ptr<ItemInstance> item); 21 Icon *getNoItemIcon(); 22 //virtual bool mayCombine(shared_ptr<ItemInstance> item); // 4J Added 23 //virtual shared_ptr<ItemInstance> combine(shared_ptr<ItemInstance> item); // 4J Added 24};