C# Class OpenMinecraft.QuickHillGenerator

Inheritance: IMapGenerator
显示文件 Open project: N3X15/MineEdit

Public Properties

Property Type Description
MAX_DERT_DEPTH int
mCaveThreshold double

Protected Properties

Property Type Description
CaveNoise LibNoise.Perlin
ContinentNoise LibNoise.Perlin
Seed long
TerrainNoise LibNoise.FastNoise
rand System.Random

Private Properties

Property Type Description
Setup void

Public Methods

Method Description
Generate ( IMapHandler mh, long X, long Z, double &minHeight, double &maxHeight ) : ].double[

From the VoxelSim project http://github.com/N3X15/VoxelSim

Load ( string Folder ) : void
QuickHillGenerator ( ) : System
QuickHillGenerator ( long seed ) : System
Save ( string Folder ) : void

Private Methods

Method Description
Setup ( ) : void

Method Details

Generate() public method

From the VoxelSim project http://github.com/N3X15/VoxelSim
public Generate ( IMapHandler mh, long X, long Z, double &minHeight, double &maxHeight ) : ].double[
mh IMapHandler
X long
Z long
minHeight double
maxHeight double
return ].double[

Load() public method

public Load ( string Folder ) : void
Folder string
return void

QuickHillGenerator() public method

public QuickHillGenerator ( ) : System
return System

QuickHillGenerator() public method

public QuickHillGenerator ( long seed ) : System
seed long
return System

Save() public method

public Save ( string Folder ) : void
Folder string
return void

Property Details

CaveNoise protected_oe property

protected Perlin,LibNoise CaveNoise
return LibNoise.Perlin

ContinentNoise protected_oe property

protected Perlin,LibNoise ContinentNoise
return LibNoise.Perlin

MAX_DERT_DEPTH public_oe property

public int MAX_DERT_DEPTH
return int

Seed protected_oe property

protected long Seed
return long

TerrainNoise protected_oe property

protected FastNoise,LibNoise TerrainNoise
return LibNoise.FastNoise

mCaveThreshold public_oe property

public double mCaveThreshold
return double

rand protected_oe property

protected Random,System rand
return System.Random