mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-19 16:22:53 +00:00
22 lines
404 B
C++
22 lines
404 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class ItemInstance;
|
|
|
|
class CoalItem : public Item {
|
|
private:
|
|
Icon* charcoalIcon;
|
|
|
|
public:
|
|
static const int STONE_COAL = 0;
|
|
static const int CHAR_COAL = 1;
|
|
|
|
CoalItem(int id);
|
|
|
|
virtual unsigned int getDescriptionId(
|
|
std::shared_ptr<ItemInstance> instance);
|
|
|
|
Icon* getIcon(int auxValue);
|
|
void registerIcons(IconRegister* iconRegister);
|
|
}; |