C# Class fCraft.MapGeneratorParameters

Represents a set of map generator parameters. Provides a way to serialize these parameters to string, and a way to create single-use MapGeneratorState objects. Must be mutable, should implement parameter range validation in property setters, and implement ICloneable, and pass a COPY to MapGeneratorState.
Inheritance: ICloneable
Show file Open project: GlennMR/800Craft-Client Class Usage Examples

Public Properties

Property Type Description
hollow bool
roughness double

Public Methods

Method Description
MapGeneratorParameters ( double _roughness, double _smoothingOver, double _smoothingUnder, double _water, double _midpoint, double _sides, bool _hollow )

Method Details

MapGeneratorParameters() public method

public MapGeneratorParameters ( double _roughness, double _smoothingOver, double _smoothingUnder, double _water, double _midpoint, double _sides, bool _hollow )
_roughness double
_smoothingOver double
_smoothingUnder double
_water double
_midpoint double
_sides double
_hollow bool

Property Details

hollow public property

public bool hollow
return bool

roughness public property

public double roughness
return double