/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* 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 " << weapon->getType() << std::endl; }