forked from Kolyah35/minecraft-pe-0.6.1
the whole game
This commit is contained in:
16
src/world/item/HangingEntityItem.h
Executable file
16
src/world/item/HangingEntityItem.h
Executable file
@@ -0,0 +1,16 @@
|
||||
#ifndef NET_MINECRAFT_WORLD_ITEM__HangingEntityItem_H__
|
||||
#define NET_MINECRAFT_WORLD_ITEM__HangingEntityItem_H__
|
||||
#include "Item.h"
|
||||
class HangingEntity;
|
||||
class HangingEntityItem : public Item {
|
||||
typedef Item super;
|
||||
public:
|
||||
HangingEntityItem(int id, int type);
|
||||
bool useOn(ItemInstance* itemInstance, Player* player, Level* level, int x, int y, int z, int face, float clickX, float clickY, float clickZ);
|
||||
private:
|
||||
HangingEntity* createEntity(Level* level, int x, int y, int z, int dir);
|
||||
private:
|
||||
int entityType;
|
||||
};
|
||||
|
||||
#endif /* NET_MINECRAFT_WORLD_ITEM__HangingEntityItem_H__ */
|
||||
Reference in New Issue
Block a user