mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-09 15:29:18 +00:00
24 lines
467 B
C++
24 lines
467 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class Player;
|
|
class Level;
|
|
|
|
class FishingRodItem : public Item {
|
|
private:
|
|
Icon* emptyIcon;
|
|
|
|
public:
|
|
FishingRodItem(int id);
|
|
|
|
virtual bool isHandEquipped();
|
|
virtual bool isMirroredArt();
|
|
virtual std::shared_ptr<ItemInstance> use(
|
|
std::shared_ptr<ItemInstance> instance, Level* level,
|
|
std::shared_ptr<Player> player);
|
|
|
|
void registerIcons(IconRegister* iconRegister);
|
|
Icon* getEmptyIcon();
|
|
};
|