diff options
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,7 +12,9 @@ namespace entry { static std::shared_ptr<Item> create(const nlohmann::json& data); virtual ~Item() {} virtual int getCost(void) const; + virtual void setCost(int cost); virtual double getWeight(void) const; + virtual void setWeight(double weight); virtual std::string getCostWeightText() const; virtual std::string getText() const override; virtual std::string getText(const creature::Creature& c) const override; |