/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Zombie.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/11/04 11:40:41 by adjoly #+# #+# */ /* Updated: 2024/11/04 18:47:10 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #include "Zombie.hpp" #include Zombie::Zombie() { std::cout << "Zombie born" << std::endl; } void Zombie::setName(std::string newName) { this->name = newName; } Zombie::~Zombie(void) { std::cout << this->name << " destroyed" << std::endl; } void Zombie::announce(void) { std::cout << this->name << ": BraiiiiiiinnnzzzZ..." << std::endl; }