C# Class fCraft.MapGeneration.Forester

Vegetation generator for RealisticMapGenState.
Afficher le fichier Open project: fragmer/fCraft Class Usage Examples

Méthodes publiques

Méthode Description
Generate ( [ args ) : void
Plant ( [ args, Vector3I treeCoordinate ) : void

Private Methods

Méthode Description
Cub ( float val ) : float
DistanceToBlock ( Map map, Vector3F coord, Vector3F vec, Block blockType ) : int
DistanceToBlock ( Map map, Vector3F coord, Vector3F vec, Block blockType, bool invert ) : int
DistanceToBlock ( [ map, Vector3F coord, Vector3F vec, Block blockType ) : int
DistanceToBlock ( [ map, Vector3F coord, Vector3F vec, Block blockType, bool invert ) : int
FindRandomTreeLocation ( ForesterArgs args, int height ) : Vector3I
FindRandomTreeLocation ( [ args, int height ) : Vector3I
FindTrees ( ForesterArgs args, ICollection treeList ) : void
FindTrees ( [ args, [ treeList ) : void
PlantMangroves ( ForesterArgs args, ICollection treeList ) : void
PlantMangroves ( [ args, [ treeList ) : void
PlantRainForestTrees ( ForesterArgs args, ICollection treeList ) : void
PlantRainForestTrees ( [ args, [ treeList ) : void
PlantTrees ( ForesterArgs args, ICollection treeList ) : void
PlantTrees ( [ args, [ treeList ) : void
ProcessTrees ( ForesterArgs args, IList treeList ) : void
ProcessTrees ( [ args, [ treeList ) : void
Sqr ( double val ) : double
Sqr ( float val ) : float
Sqr ( int val ) : int

Method Details

Generate() public static méthode

public static Generate ( [ args ) : void
args [
Résultat void

Plant() public static méthode

public static Plant ( [ args, Vector3I treeCoordinate ) : void
args [
treeCoordinate Vector3I
Résultat void