mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-25 01:28:25 +05:00
17 lines
357 B
C++
17 lines
357 B
C++
#pragma once
|
|
#include "Tile_SPU.h"
|
|
|
|
class Random;
|
|
|
|
class BookshelfTile_SPU : public Tile_SPU
|
|
{
|
|
public:
|
|
BookshelfTile_SPU(int id) : Tile_SPU(id) {}
|
|
|
|
virtual Icon_SPU *getTexture(int face, int data)
|
|
{
|
|
if (face == Facing::UP || face == Facing::DOWN)
|
|
return TileRef_SPU(wood_Id)->getTexture(face);
|
|
return Tile_SPU::getTexture(face, data);
|
|
}
|
|
}; |