aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/PS3/SPU_Tasks/ChunkUpdate/TntTile_SPU.h
blob: 5e469ff5ab0891978b457b08113ba0b27c9c89c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include "Tile_SPU.h"

class TntTile_SPU : public Tile_SPU
{
public:
	static const int EXPLODE_BIT = 1;
	TntTile_SPU(int id) : Tile_SPU(id) {}

	Icon_SPU *getTexture(int face, int data)
	{
		if (face == Facing::DOWN) return &ms_pTileData->tntTile_iconBottom;
		if (face == Facing::UP) return &ms_pTileData->tntTile_iconTop;
		return icon();

	}
};