mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-06 07:33:42 +00:00
23 lines
582 B
C++
23 lines
582 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class ItemInstance;
|
|
class Player;
|
|
class Level;
|
|
|
|
class FireChargeItem : public Item {
|
|
private:
|
|
Icon* m_dragonFireballIcon;
|
|
|
|
public:
|
|
FireChargeItem(int id);
|
|
|
|
virtual bool useOn(std::shared_ptr<ItemInstance> itemInstance,
|
|
std::shared_ptr<Player> player, Level* level, int x,
|
|
int y, int z, int face, float clickX, float clickY,
|
|
float clickZ, bool bTestUseOnOnly);
|
|
|
|
virtual Icon* getIcon(int itemAuxValue);
|
|
virtual void registerIcons(IconRegister* iconRegister);
|
|
}; |