/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HumanB.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aortigos name << " attacks with their " << this->weapon->getType() << std::endl; } else { std::cout << this->name << " has no weapon" << std::endl; } } void HumanB::setWeapon(Weapon &w) { this->weapon = &w; }