mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
* Initial commit.
:)
This commit is contained in:
17
source/World/Tile/SandStoneTile.cpp
Normal file
17
source/World/Tile/SandStoneTile.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user