made the spawner accept an array of spawn points