mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
18 lines
302 B
C++
18 lines
302 B
C++
#include "Tile.hpp"
|
|
#include "Level.hpp"
|
|
|
|
SandStoneTile::SandStoneTile(int a, int b, Material* c) : Tile(a, b, c)
|
|
{
|
|
}
|
|
|
|
int SandStoneTile::getTexture(int side)
|
|
{
|
|
if (side == DIR_YNEG)
|
|
return TEXTURE_SANDSTONE_BOTTOM;
|
|
|
|
if (side == DIR_YPOS)
|
|
return TEXTURE_SANDSTONE_TOP;
|
|
|
|
return m_TextureFrame;
|
|
}
|