#include "MeleeWeapon.hpp" #include "Actor.hpp" #include MeleeWeapon::MeleeWeapon(Type t, const std::string &name) : Weapon(name), type(t) { } bool MeleeWeapon::use(Actor &user, Actor &actor) { //TODO implement attack probability //actor.damage(_damage); }