the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "Tile_SPU.h"
4
5class Player;
6
7class WorkbenchTile_SPU : public Tile_SPU
8{
9public:
10 WorkbenchTile_SPU(int id) : Tile_SPU(id) {}
11 Icon_SPU *getTexture(int face, int data)
12 {
13 if (face == Facing::UP) return &ms_pTileData->workBench_iconTop;
14 if (face == Facing::DOWN) return TileRef_SPU(wood_Id)->getTexture(face);
15 if (face == Facing::NORTH || face == Facing::WEST) return &ms_pTileData->workBench_iconFront;
16 return icon();
17 }
18};