/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* HumanA.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/04 19:41:23 by adjoly #+# #+# */
/* Updated: 2024/11/05 17:50:39 by adjoly ### ########.fr */
#include <iostream>
#include "HumanA.hpp"
#include "Weapon.hpp"
void HumanA::attack(void) {
std::cout << this->_name << " attacks with their " << this->_weapon.getType() << std::endl;
}
HumanA::HumanA(std::string name, Weapon &weapon) : _name(name), _weapon(weapon) { }