mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
github.dev removing files randomly lmfao
This commit is contained in:
25
source/world/tile/SandStoneTile.cpp
Normal file
25
source/world/tile/SandStoneTile.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
/********************************************************************
|
||||
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 "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