/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HumanA.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/14 13:34:06 by narnaud #+# #+# */ /* Updated: 2022/06/16 10:10:29 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #include "HumanA.hpp" HumanA::HumanA(string name, Weapon & weap ):_name(name),_weapon(weap){} void HumanA::attack(void) const { std::cout << _name << " attacks with their " << _weapon.getType() << endl; }