/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Zombie.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: narnaud +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2022/06/14 08:53:11 by narnaud #+# #+# */ /* Updated: 2022/06/16 12:43:16 by narnaud ### ########.fr */ /* */ /* ************************************************************************** */ #include "Zombie.hpp" Zombie::Zombie(){} Zombie::Zombie(string name):_name(name) { cout << "*" << _name << " died.*\n"; } Zombie::~Zombie(void) { cout << "*" << _name << " really died.*\n"; } void Zombie::announce(void) const { cout << _name << ": BraiiiiiiinnnzzzZ...\n"; } void Zombie::setName(string name) { _name = name; }