Class DefaultMapGenerator
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class DefaultMapGenerator : IMapGenerator
- Inheritance
-
objectDefaultMapGenerator
- Implements
- Extension Methods
Constructors
DefaultMapGenerator(int, MapGenerationParameters, StartingLocationData, IShapesConfiguration, IShapeColorScheme, IShapeRegistry, IShapeIdManager)
public DefaultMapGenerator(int seed, MapGenerationParameters config, StartingLocationData startingLocation, IShapesConfiguration shapesConfiguration, IShapeColorScheme colorScheme, IShapeRegistry shapeRegistry, IShapeIdManager shapeIdManager)
Parameters
seedintconfigMapGenerationParametersstartingLocationStartingLocationDatashapesConfigurationIShapesConfigurationcolorSchemeIShapeColorSchemeshapeRegistryIShapeRegistryshapeIdManagerIShapeIdManager
Fields
MaxGenerationDistance
public const int MaxGenerationDistance = 50
Field Value
- int
MaxSupportedPatchSize
public const int MaxSupportedPatchSize = 32
Field Value
- int
Methods
Generate(SuperChunkCoordinate)
public IEnumerable<IResourceSourceData> Generate(SuperChunkCoordinate origin_SC)
Parameters
origin_SCSuperChunkCoordinate
Returns
- IEnumerable<IResourceSourceData>