Пример #1
0
        private void GenerateGridIntoWorld()
        {
            Find.World.grid     = new WorldGrid();
            Find.World.pathGrid = new WorldPathGrid();
            NoiseDebugUI.ClearPlanetNoises();
            SetupElevationNoise();
            SetupTemperatureOffsetNoise();
            SetupRainfallNoise();
            SetupHillinessNoise();
            SetupSwampinessNoise();
            List <Tile> tiles = Find.WorldGrid.tiles;

            tiles.Clear();
            int tilesCount = Find.WorldGrid.TilesCount;

            for (int i = 0; i < tilesCount; i++)
            {
                Tile item = GenerateTileFor(i);
                tiles.Add(item);
            }
        }
Пример #2
0
 public override void GenerateFromScribe(string seed)
 {
     Find.World.pathGrid = new WorldPathGrid();
     NoiseDebugUI.ClearPlanetNoises();
 }