// Update is called once per frame

    public void SpawnEnemies()
    {
        Debug.Log("letsANOOOOOO");
        EventDriver      eventDrivers = GameObject.FindObjectOfType <EventDriver>();
        List <GridTiles> locations    = new List <GridTiles>();

        locations.AddRange(eventDrivers.FindEnemySpawns());
        string tileId = "";

        spawnPoints = new List <NewSpawnPoint>();
        foreach (Unit play in CurrentGame.game.memoryGeneral.enemiesInMaps.units)
        {
            do
            {
                int num = Random.Range(0, locations.Count);
                if (!locations[num].taken)
                {
                    locations[num].taken = true;
                    tileId = locations[num].name;
                }
            } while (tileId == "");

            spawnPoints.Add(new NewSpawnPoint(play, tileId));
            tileId = "";
        }
        mapPlacer();
    }