Table of Contents

Class DefaultMapGenerator

Namespace
Root
Assembly
SPZGameAssembly.dll
public class DefaultMapGenerator : IMapGenerator
Inheritance
object
DefaultMapGenerator
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

seed int
config MapGenerationParameters
startingLocation StartingLocationData
shapesConfiguration IShapesConfiguration
colorScheme IShapeColorScheme
shapeRegistry IShapeRegistry
shapeIdManager IShapeIdManager

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_SC SuperChunkCoordinate

Returns

IEnumerable<IResourceSourceData>