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

16 lines
404 B
C++

#include "Tile.hpp"
#include "Level.hpp"
MetalTile::MetalTile(int ID, int texture, Material* pMtl) : Tile(ID, pMtl)
{
m_TextureFrame = texture;
}
// @NOTE: I think the MCPE devs were left dumbfounded by this. "Why did notch
// overload this function?" Well, fun fact, there used to be top, side and bottom
// textures for these tiles. :)
int MetalTile::getTexture(int dir)
{
return m_TextureFrame;
}