blob: 72036aa5ad8cc92084eb4bc74e163ae43d65fcd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include "Item.h"
class EnderEyeItem : public Item
{
public:
EnderEyeItem(int id);
virtual bool useOn(shared_ptr<ItemInstance> instance, shared_ptr<Player> player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly=false);
virtual bool TestUse(Level *level, shared_ptr<Player> player);
virtual shared_ptr<ItemInstance> use(shared_ptr<ItemInstance> instance, Level *level, shared_ptr<Player> player);
};
|