mirror of
https://gitea.murdle.top/murdle/mc-lce.git
synced 2026-03-12 11:59:00 +02: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);
|
|
}
|
|
}; |