/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HumanB.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/11/04 19:43:18 by adjoly #+# #+# */ /* Updated: 2024/11/04 19:50:18 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #include "HumanB.hpp" #include void HumanB::attack(void) { std::cout << this->name << " attacks with their " << this->weapon.getType() << std::endl; } void HumanB::setWeapon(Weapon newWeapon) { this->weapon = newWeapon; }