blob: 19310dda3e42211cbd2f937cfc55a19322d58e49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "Tile.h"
class ColoredTile : public Tile
{
friend class ChunkRebuildData;
private:
static const int ICON_COUNT = 16;
Icon *icons[ICON_COUNT];
public:
ColoredTile(int id, Material *material);
Icon *getTexture(int face, int data);
virtual int getSpawnResourcesAuxValue(int data);
static int getTileDataForItemAuxValue(int auxValue);
static int getItemAuxValueForTileData(int data);
virtual void registerIcons(IconRegister *iconRegister);
};
|