#ifndef WEAPON_HPP #define WEAPON_HPP #include "Item.hpp" #include class Actor; class Weapon : public Item { public: enum class Class { SWORD, AXE, LANCE, RANGED }; const Class weaponClass; protected: unsigned _damage; unsigned _requiredLevel; Weapon(Item::Type t, Class _weaponClass, const std::string &name) : Item(t, name), weaponClass(_weaponClass) {} }; #endif