mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 02:33:37 +00:00
22 lines
790 B
C++
22 lines
790 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, std::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);
|
|
};
|