C# 클래스 fCraft.Forester

Vegetation generator for MapGenerator.
파일 보기 프로젝트 열기: GlennMR/800craft 1 사용 예제들

공개 메소드들

메소드 설명
Generate ( [ args ) : void
Plant ( [ args, Vector3I treeCoordinate ) : void
SexyPlant ( [ args, Vector3I treeCoordinate ) : void

비공개 메소드들

메소드 설명
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
FindRandomTreeLocation ( ForesterArgs args, int height ) : Vector3I
FindTrees ( ForesterArgs args, ICollection treelist ) : void
PlantMangroves ( ForesterArgs args, ICollection treelist ) : void
PlantRainForestTrees ( ForesterArgs args, ICollection treelist ) : void
PlantTrees ( ForesterArgs args, ICollection treelist ) : void
ProcessTrees ( ForesterArgs args, IList treelist ) : void
Sqr ( double val ) : double
Sqr ( float val ) : float
Sqr ( int val ) : int

메소드 상세

Generate() 공개 정적인 메소드

public static Generate ( [ args ) : void
args [
리턴 void

Plant() 공개 정적인 메소드

public static Plant ( [ args, Vector3I treeCoordinate ) : void
args [
treeCoordinate Vector3I
리턴 void

SexyPlant() 공개 정적인 메소드

public static SexyPlant ( [ args, Vector3I treeCoordinate ) : void
args [
treeCoordinate Vector3I
리턴 void