* Initial commit.

:)
This commit is contained in:
iProgramInCpp
2023-07-30 22:22:02 +03:00
commit 9642818a88
613 changed files with 151754 additions and 0 deletions

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