示例#1
0
        public static PolarRegion GenerateSouthPole(Boundary boundary)
        {
            var(top, bottom) = boundary.CutHorizontally(boundary.MinY + FilledRows);

            var iceTiles = Landmass.Fill(bottom).LandTiles
                           .Union(Landmass.Generate(top, top.Area / 4).LandTiles);

            return(new PolarRegion(iceTiles));
        }
示例#2
0
 public static ContinentalRegion Generate(Boundary boundary)
 {
     // TODO: Could add more interest here - maybe a few little islands are generated occasionally?
     return(new ContinentalRegion(Landmass.Generate(boundary).LandTiles));
 }