C# Class fCraft.FloatingIslandMapGenState

Inheritance: MapGeneratorState
Afficher le fichier Open project: fragmer/fCraft

Méthodes publiques

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

Private Methods

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

Method Details

Erode() public méthode

public Erode ( ) : void
Résultat void

ExpandGround() public méthode

public ExpandGround ( ) : void
Résultat void

FloatingIslandMapGenState() public méthode

public FloatingIslandMapGenState ( FloatingIslandMapGenParameters parameters ) : System
parameters FloatingIslandMapGenParameters
Résultat System

Generate() public méthode

public Generate ( ) : Map
Résultat Map

GrowTree() public méthode

public GrowTree ( Random treeRand, int startX, int startY, int startZ ) : void
treeRand System.Random
startX int
startY int
startZ int
Résultat void

MakeIslandBase() public méthode

public MakeIslandBase ( Island island ) : void
island Island
Résultat void

MakeIslandHemisphere() public méthode

public MakeIslandHemisphere ( Vector3I offset, Sphere sphere ) : void
offset Vector3I
sphere Sphere
Résultat void

MakeWater() public méthode

public MakeWater ( ) : void
Résultat void

MakeWaterSource() public méthode

public MakeWaterSource ( int x, int y, int z ) : void
x int
y int
z int
Résultat void

PlantFlowers() public méthode

public PlantFlowers ( ) : void
Résultat void

PlantGiantTrees() public méthode

public PlantGiantTrees ( ) : void
Résultat void

PlantGrass() public méthode

public PlantGrass ( ) : void
Résultat void

PlantTrees() public méthode

public PlantTrees ( ) : void
Résultat void

SmoothEdges() public méthode

public SmoothEdges ( ) : void
Résultat void