mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
19 lines
413 B
C++
19 lines
413 B
C++
#include "Tile.hpp"
|
|
#include "Level.hpp"
|
|
|
|
HalfTransparentTile::HalfTransparentTile(int a, int b, Material* c) : Tile(a, b, c)
|
|
{
|
|
}
|
|
|
|
bool HalfTransparentTile::isSolidRender()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool HalfTransparentTile::shouldRenderFace(LevelSource* level, int x, int y, int z, int dir)
|
|
{
|
|
if (field_6C || level->getTile(x, y, z) != m_ID)
|
|
return Tile::shouldRenderFace(level, x, y, z, dir);
|
|
|
|
return field_6C;
|
|
} |