This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
28 lines
509 B
C++
28 lines
509 B
C++
#pragma once
|
|
using namespace std;
|
|
|
|
#include "Item.h"
|
|
|
|
class Player;
|
|
class Level;
|
|
|
|
class FishingRodItem : public Item
|
|
{
|
|
public:
|
|
static const wstring TEXTURE_EMPTY;
|
|
|
|
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);
|
|
|
|
//@Override
|
|
void registerIcons(IconRegister *iconRegister);
|
|
Icon *getEmptyIcon();
|
|
};
|