mirror of
https://github.com/celisej567/mcpe.git
synced 2025-12-31 17:49:17 +03:00
26 lines
655 B
C++
26 lines
655 B
C++
/********************************************************************
|
|
Minecraft: Pocket Edition - Decompilation Project
|
|
Copyright (C) 2023 iProgramInCpp
|
|
|
|
The following code is licensed under the BSD 1 clause license.
|
|
SPDX-License-Identifier: BSD-1-Clause
|
|
********************************************************************/
|
|
|
|
#include "SandStoneTile.hpp"
|
|
#include "world/level/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;
|
|
}
|