public static HexagonCollection GenerateWorld(WorldGenParamters world) { var collection = MakeDefaultHexagons(world.MaxRows, world.MaxCol, world.WrapEastWest); CenterSeed(collection, world); if (world.WaterSurrounds) { SidesOcean(collection, world); } TerrainController.FillAll(collection, world.MaxRows); return(collection); }
public WorldController() { this.collection = TerrainController.GenerateWorld(parameters); }