Esempio n. 1
0
    private void spawnDungeons()
    {
        if (SpawnOnMapController)
        {
            foreach (Dungeon dungeon in lDungeons)
            {
                if (dungeon.Lat == -1)
                {
                    populateLatLon(dungeon);
                }
                else
                {
                    SpawnOnMapController.AddDungeon(dungeon);
                }
            }
        }

        SpawnOnMapController.RefreshLocations();
    }