mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 05:23:38 +00:00
17 lines
449 B
C++
17 lines
449 B
C++
#pragma once
|
|
#include "Tile.h"
|
|
|
|
class TransparentTile : public Tile {
|
|
protected:
|
|
bool allowSame;
|
|
|
|
protected:
|
|
TransparentTile(int id, Material* material, bool allowSame,
|
|
bool isSolidRender = false);
|
|
|
|
public:
|
|
virtual bool isSolidRender(bool isServerLevel = false);
|
|
virtual bool shouldRenderFace(LevelSource* level, int x, int y, int z,
|
|
int face);
|
|
virtual bool blocksLight();
|
|
}; |