blob: cc3ef1e70f5292e2e623a083bb91039f7ea0a843 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "TileItem.h"
class ItemInstance;
class ColoredTileItem : public TileItem
{
private:
// Was const, but removing that so we don't have to make all the functions const as well!
Tile *colorTile;
intArray descriptionPostfixes;
public:
using TileItem::getColor;
ColoredTileItem(int id, bool stackedByData);
~ColoredTileItem();
virtual int getColor(shared_ptr<ItemInstance> item, int spriteLayer);
virtual Icon *getIcon(int auxValue);
virtual int getLevelDataForAuxValue(int auxValue);
ColoredTileItem *setDescriptionPostfixes(intArray descriptionPostfixes);
virtual unsigned int getDescriptionId(shared_ptr<ItemInstance> instance);
};
|