Files
mcpe/source/World/Tile/SandStoneTile.cpp
iProgramInCpp 9642818a88 * Initial commit.
:)
2023-07-30 22:22:02 +03:00

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;
}