Exemple #1
0
 private void PlaceFigurines()
 {
     this.Map.ForeachSpawnPool((Action <NPCSpawnPool>)(pool =>
     {
         foreach (NPCSpawnPoint spawnPoint in pool.SpawnPoints)
         {
             SpawnPointFigurine spawnPointFigurine = new SpawnPointFigurine(this, spawnPoint);
             this.Figurines.Add((EditorFigurine)spawnPointFigurine);
             spawnPointFigurine.TeleportTo((IWorldLocation)spawnPoint);
         }
     }));
 }
Exemple #2
0
 private void PlaceFigurines()
 {
     Map.ForeachSpawnPool(pool =>
     {
         foreach (NPCSpawnPoint spawnPoint in pool.SpawnPoints)
         {
             SpawnPointFigurine spawnPointFigurine = new SpawnPointFigurine(this, spawnPoint);
             Figurines.Add(spawnPointFigurine);
             spawnPointFigurine.TeleportTo(spawnPoint);
         }
     });
 }
Exemple #3
0
        private void PlaceFigurines()
        {
            Map.ForeachSpawnPool(pool =>
            {
                foreach (var point in pool.SpawnPoints)
                {
                    var figurine = new SpawnPointFigurine(this, point);

                    Figurines.Add(figurine);
                    figurine.TeleportTo(point);
                }
            });
        }