Class TownscaperGrid
A grid closely modelled after the grid used in Townscaper. See the corresponding tutorial.
Implements
Inherited Members
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class TownscaperGrid : RelaxModifier, IGrid
Constructors
TownscaperGrid(Int32, Nullable<Int32>, Int32)
Declaration
public TownscaperGrid(int n, Nullable<int> seed = null, int relaxIterations = 10)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | n | |
System.Nullable<System.Int32> | seed | |
System.Int32 | relaxIterations |