C# Class fCraft.MapGeneration.FloatingIslandMapGenState

Inheritance: MapGeneratorState
Show file Open project: fragmer/fCraft

Public Methods

Method Description
Erode ( ) : void
ExpandGround ( ) : void
FloatingIslandMapGenState ( FloatingIslandMapGenParameters parameters ) : System
FloatingIslandMapGenState ( [ parameters ) : System
Generate ( ) : Map
GrowTree ( Random treeRand, int startX, int startY, int startZ ) : void
GrowTree ( [ treeRand, int startX, int startY, int startZ ) : void
MakeIslandBase ( Island island ) : void
MakeIslandBase ( [ island ) : void
MakeIslandHemisphere ( Vector3I offset, Sphere sphere ) : void
MakeIslandHemisphere ( Vector3I offset, [ sphere ) : void
MakeWater ( ) : void
MakeWaterSource ( int x, int y, int z ) : void
PlantFlowers ( ) : void
PlantGiantTrees ( ) : void
PlantGrass ( ) : void
PlantTrees ( ) : void
SmoothEdges ( ) : void

Private Methods

Method Description
ComputeSurfaceCoverage ( Block coverBlock ) : int
CreateIsland ( Vector3I offset ) : Island
HasNeighbors ( int x, int y, int z ) : bool

Method Details

Erode() public method

public Erode ( ) : void
return void

ExpandGround() public method

public ExpandGround ( ) : void
return void

FloatingIslandMapGenState() public method

public FloatingIslandMapGenState ( FloatingIslandMapGenParameters parameters ) : System
parameters FloatingIslandMapGenParameters
return System

FloatingIslandMapGenState() public method

public FloatingIslandMapGenState ( [ parameters ) : System
parameters [
return System

Generate() public method

public Generate ( ) : Map
return Map

GrowTree() public method

public GrowTree ( Random treeRand, int startX, int startY, int startZ ) : void
treeRand System.Random
startX int
startY int
startZ int
return void

GrowTree() public method

public GrowTree ( [ treeRand, int startX, int startY, int startZ ) : void
treeRand [
startX int
startY int
startZ int
return void

MakeIslandBase() public method

public MakeIslandBase ( Island island ) : void
island Island
return void

MakeIslandBase() public method

public MakeIslandBase ( [ island ) : void
island [
return void

MakeIslandHemisphere() public method

public MakeIslandHemisphere ( Vector3I offset, Sphere sphere ) : void
offset Vector3I
sphere Sphere
return void

MakeIslandHemisphere() public method

public MakeIslandHemisphere ( Vector3I offset, [ sphere ) : void
offset Vector3I
sphere [
return void

MakeWater() public method

public MakeWater ( ) : void
return void

MakeWaterSource() public method

public MakeWaterSource ( int x, int y, int z ) : void
x int
y int
z int
return void

PlantFlowers() public method

public PlantFlowers ( ) : void
return void

PlantGiantTrees() public method

public PlantGiantTrees ( ) : void
return void

PlantGrass() public method

public PlantGrass ( ) : void
return void

PlantTrees() public method

public PlantTrees ( ) : void
return void

SmoothEdges() public method

public SmoothEdges ( ) : void
return void