first commit
This commit is contained in:
26
Minecraft.World/WorkbenchTile.h
Normal file
26
Minecraft.World/WorkbenchTile.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
#include "Tile.h"
|
||||
|
||||
class Player;
|
||||
class ChunkRebuildData;
|
||||
|
||||
class WorkbenchTile : public Tile
|
||||
{
|
||||
friend class Tile;
|
||||
friend class ChunkRebuildData;
|
||||
private:
|
||||
Icon *iconTop;
|
||||
Icon *iconFront;
|
||||
|
||||
protected:
|
||||
WorkbenchTile(int id);
|
||||
|
||||
public:
|
||||
Icon *getTexture(int face, int data);
|
||||
void registerIcons(IconRegister *iconRegister);
|
||||
|
||||
public:
|
||||
virtual bool TestUse();
|
||||
bool use(Level *level, int x, int y, int z, shared_ptr<Player> player, int clickedFace, float clickX, float clickY, float clickZ, bool soundOnly = false); // 4J added soundOnly param
|
||||
};
|
||||
Reference in New Issue
Block a user