13 lines
186 B
C++
13 lines
186 B
C++
#include "Zombie.hpp"
|
|
|
|
Zombie* zombieHorde( int N, std::string name ) {
|
|
|
|
Zombie *zomboz = new Zombie[N];
|
|
|
|
for (int i = 0; i < N; i++)
|
|
zomboz[i].put_name( name );
|
|
|
|
return zomboz;
|
|
|
|
}
|