the whole game
This commit is contained in:
24
src/world/level/tile/StoneTile.h
Executable file
24
src/world/level/tile/StoneTile.h
Executable file
@@ -0,0 +1,24 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__StoneTile_H__
|
||||
#define NET_MINECRAFT_WORLD_LEVEL_TILE__StoneTile_H__
|
||||
|
||||
//package net.minecraft.world.level.tile;
|
||||
|
||||
#include "../../../util/Random.h"
|
||||
#include "../material/Material.h"
|
||||
|
||||
#include "Tile.h"
|
||||
|
||||
class StoneTile: public Tile
|
||||
{
|
||||
public:
|
||||
StoneTile(int id, int tex)
|
||||
: Tile(id, tex, Material::stone)
|
||||
{
|
||||
}
|
||||
|
||||
int getResource(int data, Random* random) {
|
||||
return Tile::stoneBrick->id;
|
||||
}
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_LEVEL_TILE__StoneTile_H__*/
|
||||
Reference in New Issue
Block a user