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); } })); }
private void PlaceFigurines() { Map.ForeachSpawnPool(pool => { foreach (NPCSpawnPoint spawnPoint in pool.SpawnPoints) { SpawnPointFigurine spawnPointFigurine = new SpawnPointFigurine(this, spawnPoint); Figurines.Add(spawnPointFigurine); spawnPointFigurine.TeleportTo(spawnPoint); } }); }
private void PlaceFigurines() { Map.ForeachSpawnPool(pool => { foreach (var point in pool.SpawnPoints) { var figurine = new SpawnPointFigurine(this, point); Figurines.Add(figurine); figurine.TeleportTo(point); } }); }