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