aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BaseEntityTile.h
blob: 5136bab8e2b74e487776ec5a20a05f3c08a5b31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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);
};