Files
2026-03-02 17:37:16 +07:00

20 lines
684 B
C++

#pragma once
#include "HalfTransparentTile.h"
class Random;
class IceTile : public HalfTransparentTile
{
public:
IceTile(int id);
virtual int getRenderLayer();
virtual bool shouldRenderFace(LevelSource *level, int x, int y, int z, int face);
virtual void playerDestroy(Level *level, shared_ptr<Player> player, int x, int y, int z, int data);
virtual int getResourceCount(Random *random);
virtual void tick(Level *level, int x, int y, int z, Random *random);
virtual int getPistonPushReaction();
// 4J Added so we can check before we try to add a tile to the tick list if it's actually going to do seomthing
virtual bool shouldTileTick(Level *level, int x,int y,int z);
};