mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-10-27 11:40:17 +00:00
feat: init
This commit is contained in:
commit
25809b8455
18807 files changed
+3944357
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "EntityTile_SPU.h"
|
||||
#include "Facing_SPU.h"
|
||||
|
||||
class FurnaceTile_SPU : public EntityTile_SPU
|
||||
{
|
||||
public:
|
||||
FurnaceTile_SPU(int id) : EntityTile_SPU(id){}
|
||||
Icon_SPU *getTexture(int face, int data)
|
||||
{
|
||||
if (face == Facing::UP) return &ms_pTileData->furnaceTile_iconTop;
|
||||
if (face == Facing::DOWN) return &ms_pTileData->furnaceTile_iconTop;
|
||||
|
||||
if (face != data) return icon();
|
||||
if(id == furnace_Id)
|
||||
return &ms_pTileData->furnaceTile_iconFront;
|
||||
else //furnace_lit_Id
|
||||
return &ms_pTileData->furnaceTile_iconFront_lit;
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user