17 lines
548 B
C++
Executable File
17 lines
548 B
C++
Executable File
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__MelonTile_H__
|
|
#define NET_MINECRAFT_WORLD_LEVEL_TILE__MelonTile_H__
|
|
#include "Tile.h"
|
|
class MelonTile : public Tile {
|
|
typedef Tile super;
|
|
public:
|
|
MelonTile(int id);
|
|
int getTexture(LevelSource* level, int x, int y, int z, int face);
|
|
int getTexture(int face);
|
|
int getResource(int data, Random* random);
|
|
int getResourceCount(Random* random);
|
|
private:
|
|
static const int TEX = 8 + 8 * 16;
|
|
static const int TEX_TOP = 9 + 8 * 16;
|
|
};
|
|
|
|
#endif /* NET_MINECRAFT_WORLD_LEVEL_TILE__MelonTile_H__ */ |