/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* zombieHorde.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: bchanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/07/15 13:58:41 by bchanot #+# #+# */ /* Updated: 2025/07/15 14:30:26 by bchanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "Zombie.hpp" Zombie *zombieHorde(int N, std::string name) { Zombie *zombies = new Zombie[N]; int i; i = 0; while (i < N) { zombies[i].setZombie(name); i++; } return zombies; }