forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
28
src/world/level/tile/EntityTile.h
Executable file
28
src/world/level/tile/EntityTile.h
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef NET_MINECRAFT_WORLD_LEVEL_TILE__EntityTile_H__
|
||||
#define NET_MINECRAFT_WORLD_LEVEL_TILE__EntityTile_H__
|
||||
|
||||
//package net.minecraft.world.level->tile;
|
||||
|
||||
#include "Tile.h"
|
||||
|
||||
class Level;
|
||||
class TileEntity;
|
||||
class Material;
|
||||
|
||||
/*abstract*/
|
||||
class EntityTile: public Tile
|
||||
{
|
||||
typedef Tile super;
|
||||
public:
|
||||
virtual TileEntity* newTileEntity() = 0;
|
||||
|
||||
void onPlace(Level* level, int x, int y, int z);
|
||||
void onRemove(Level* level, int x, int y, int z);
|
||||
|
||||
void triggerEvent(Level* level, int x, int y, int z, int b0, int b1);
|
||||
protected:
|
||||
EntityTile(int id, const Material* material);
|
||||
EntityTile(int id, int tex, const Material* material);
|
||||
};
|
||||
|
||||
#endif /*NET_MINECRAFT_WORLD_LEVEL_TILE__EntityTile_H__*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue