mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-26 10:23:36 +00:00
17 lines
497 B
C++
17 lines
497 B
C++
#pragma once
|
|
#include "EntityTile.h"
|
|
#include "Tile.h"
|
|
|
|
class TileEntity;
|
|
class Material;
|
|
|
|
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);
|
|
}; |