#pragma once #include "Object.h" #include "Range.h" class Player; class ConsumableObject : public Object { using Object::Object; public: virtual void consume(Player & player) = 0; public: void set_potency(const Range & range); Range get_potency() const; private: int potency_min = 0; int potency_max = 0; };