Files
MinecraftConsoles/Minecraft.World/EntityTile.h
void_17 7074f35e4b shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
2026-03-02 15:58:20 +07:00

15 lines
460 B
C++

#pragma once
#include "Tile.h"
class TileEntity;
class EntityTile : public Tile
{
protected:
EntityTile(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 std::shared_ptr<TileEntity> newTileEntity(Level *level) = 0;
virtual void triggerEvent(Level *level, int x, int y, int z, int b0, int b1);
};