mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 02:13:38 +00:00
16 lines
494 B
C++
16 lines
494 B
C++
#pragma once
|
|
#include "Tile.h"
|
|
#include "TileEntities/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);
|
|
}; |