mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-24 11:18:12 +05:00
15 lines
438 B
C++
15 lines
438 B
C++
#pragma once
|
|
#include "Tile.h"
|
|
#include "EntityTile.h"
|
|
|
|
class TileEntity;
|
|
|
|
class BaseEntityTile : public Tile, public EntityTile
|
|
{
|
|
protected:
|
|
BaseEntityTile(int id, Material *material, bool isSolidRender = true);
|
|
public:
|
|
virtual void onPlace(Level *level, int x, int y, int z);
|
|
virtual void onRemove(Level *level, int x, int y, int z, int id, int data);
|
|
virtual bool triggerEvent(Level *level, int x, int y, int z, int b0, int b1);
|
|
}; |