mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-16 17:02:53 +00:00
22 lines
528 B
C++
22 lines
528 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class Icon;
|
|
|
|
class BottleItem : public Item {
|
|
public:
|
|
BottleItem(int id);
|
|
|
|
//@Override
|
|
Icon* getIcon(int auxValue);
|
|
|
|
virtual std::shared_ptr<ItemInstance> use(
|
|
std::shared_ptr<ItemInstance> itemInstance, Level* level,
|
|
std::shared_ptr<Player> player);
|
|
virtual bool TestUse(std::shared_ptr<ItemInstance> itemInstance,
|
|
Level* level, std::shared_ptr<Player> player);
|
|
|
|
//@Override
|
|
void registerIcons(IconRegister* iconRegister);
|
|
}; |