/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HumanA.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: dkaiser HumanA::HumanA(const std::string &name, Weapon &weapon) :weapon(&weapon), name(name) {} void HumanA::attack(void) const { std::cout << name << " attacks with their "; std::cout << weapon->getType() << std::endl; }