diff options
Diffstat (limited to 'ex00/newZombie.cpp')
| -rw-r--r-- | ex00/newZombie.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ex00/newZombie.cpp b/ex00/newZombie.cpp index 74b9ca8..916a3a9 100644 --- a/ex00/newZombie.cpp +++ b/ex00/newZombie.cpp @@ -6,7 +6,15 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/02/10 10:27:26 by dkaiser #+# #+# */ -/* Updated: 2025/02/10 10:27:27 by dkaiser ### ########.fr */ +/* Updated: 2025/02/10 10:56:54 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ +#include "Zombie.hpp" + +Zombie* newZombie(std::string name) +{ + Zombie* zombie = new Zombie(name); + zombie->announce(); + return zombie; +} |
