/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HumanA.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: apommier +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/10 21:20:34 by apommier #+# #+# */ /* Updated: 2022/06/19 12:36:43 by apommier ### ########.fr */ /* */ /* ************************************************************************** */ #include "HumanA.hpp" HumanA::HumanA(const std::string name, Weapon &Weapon): _Weapon(Weapon) { this->_name = name; } HumanA::~HumanA(void) { } void HumanA::attack(void) { std::cout << this->_name << " attacks with their " << this->_Weapon.getType() << std::endl; }