Files
MinecraftConsoles/Minecraft.World/TheEndPortalFrameTile.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

26 lines
810 B
C++

#pragma once
#include "Tile.h"
class TheEndPortalFrameTile : public Tile
{
public:
static const int EYE_BIT = 4;
static const wstring TEXTURE_EYE;
private:
Icon *iconTop;
Icon *iconEye;
public:
TheEndPortalFrameTile(int id);
virtual Icon *getTexture(int face, int data);
void registerIcons(IconRegister *iconRegister);
Icon *getEye();
virtual bool isSolidRender(bool isServerLevel = false);
virtual int getRenderShape();
virtual void updateDefaultShape();
virtual void addAABBs(Level *level, int x, int y, int z, AABB *box, AABBList *boxes, std::shared_ptr<Entity> source);
static bool hasEye(int data);
virtual int getResource(int data, Random *random, int playerBonusLevel);
virtual void setPlacedBy(Level *level, int x, int y, int z, std::shared_ptr<Mob> by);
};