blob: 0b45cf63a51d610d2d085149d69e87d84f9b0869 (
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
26
27
28
29
|
#pragma once
#include "Tile.h"
class ChunkRebuildData;
class HugeMushroomTile : public Tile
{
friend class ChunkRebuildData;
public:
static const int MUSHROOM_TYPE_BROWN = 0;
static const int MUSHROOM_TYPE_RED = 1;
static const wstring TEXTURE_STEM;
static const wstring TEXTURE_INSIDE;
private:
static const int HUGE_MUSHROOM_TEXTURE_COUNT = 2;
static const wstring TEXTURE_TYPE[];
int type;
Icon **icons;
Icon *iconStem;
Icon *iconInside;
public:
HugeMushroomTile(int id, Material *material, int type);
Icon *getTexture(int face, int data);
int getResourceCount(Random *random);
int getResource(int data, Random *random, int playerBonusLevel);
int cloneTileId(Level *level, int x, int y, int z);
void registerIcons(IconRegister *iconRegister);
};
|