#ifndef MELEEWEAPON_HPP #define MELEEWEAPON_HPP #include "Weapon.hpp" #include "Actor.hpp" #include class MeleeWeapon : public Weapon { public: enum Type { SWORD, AXE, LANCE }; const Type type; MeleeWeapon(Type t, const std::string &name); bool use(Actor &user, Actor &actor); protected: bool _throwable; }; #endif