// Use this for initialization
    void Start()
    {
        foreach (ObjectSpawnPoint spawnPoint in GetComponentsInChildren <ObjectSpawnPoint>())
        {
            possibleSpawnPositions.Add(spawnPoint);
        }

        for (int i = 0; i < maxSpawns; i++)
        {
            ObjectSpawnPoint selected = pickRandomPosition(possibleSpawnPositions);
            possibleSpawnPositions.Remove(selected);
            selected.spawn(spawnableObject);
        }
    }
 public void SetSpawnPoint(ObjectSpawnPoint objectSpawnPoint)
 {
     spawnPoint = objectSpawnPoint;
 }