/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HumanA.class.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/07/15 15:54:21 by bchanot #+# #+# */ /* Updated: 2025/07/15 18:13:42 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "HumanA.class.hpp" #include "Weapon.class.hpp" #include HumanA::HumanA(std::string name, Weapon &weapon) : _name(name), _weapon(weapon) { return ; } HumanA::~HumanA(void) { return ; } void HumanA::attack(void) const { std::cout << this->_name << " attacks with their " << this->_weapon.getType() << std::endl; }