/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* zombieHorde.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/12/24 15:05:45 by fgras-ca #+# #+# */ /* Updated: 2023/12/24 15:17:10 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #include "Zombie.hpp" Zombie* zombieHorde(int N, std::string name) { Zombie *horde = new Zombie[N]; for(int i = 0; i < N; i++) horde[i].setname(name); return (horde); }