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


class CropTile_SPU : public Bush_SPU
{
public:
	CropTile_SPU(int id) : Bush_SPU(id) {}
	virtual Icon_SPU *getTexture(int face, int data)
	{
		if (data < 0 || data > 7) data = 7;
		return &ms_pTileData->cropTile_icons[data];
	}

    virtual int getRenderShape()
	{
		return Tile_SPU::SHAPE_ROWS;
	}
};