From 631a8d7b6c214da48f7748e78fc8c308960414fb Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 9 Nov 2020 12:58:53 +0100 Subject: Fixing cpp01/03 single allocation for zombies in horde --- cpp01/ex03/Zombie.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cpp01/ex03/Zombie.hpp') diff --git a/cpp01/ex03/Zombie.hpp b/cpp01/ex03/Zombie.hpp index e87200e..8300459 100644 --- a/cpp01/ex03/Zombie.hpp +++ b/cpp01/ex03/Zombie.hpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 09:40:26 by charles #+# #+# */ -/* Updated: 2020/11/09 10:38:52 by cacharle ### ########.fr */ +/* Updated: 2020/11/09 12:53:45 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,9 +18,13 @@ class Zombie { public: + Zombie(); Zombie(std::string const& name, std::string const& type); ~Zombie(); void announce(); + void setName(std::string const& name); + void setType(std::string const& type); + private: std::string m_name; -- cgit