C# 클래스 ManicDigger.MapTools.Generators.ExperimentalWorldGenerator

Provides a chunk generator that uses an experimental algorithm to create unusual or weird structures.
상속: WorldGeneratorBase
파일 보기 프로젝트 열기: henon/manic_digger

공개 메소드들

메소드 설명
ExperimentalWorldGenerator ( ) : System

Initializes a new instance of the ExperimentalChunkGenerator class.

GetChunk ( int x, int y, int z ) : byte[,,]

Returns the contents of the chunk by its coordinates.

PopulateChunk ( IMapStorage map, int x, int y, int z ) : void

Populates the chunk at the given position.

SetSeed ( int seed ) : void

Sets the seed that is used to create chunks.

비공개 메소드들

메소드 설명
UpdateValues ( ) : void

메소드 상세

ExperimentalWorldGenerator() 공개 메소드

Initializes a new instance of the ExperimentalChunkGenerator class.
public ExperimentalWorldGenerator ( ) : System
리턴 System

GetChunk() 공개 메소드

Returns the contents of the chunk by its coordinates.
public GetChunk ( int x, int y, int z ) : byte[,,]
x int
y int
z int
리턴 byte[,,]

PopulateChunk() 공개 메소드

Populates the chunk at the given position.
public PopulateChunk ( IMapStorage map, int x, int y, int z ) : void
map IMapStorage The instance containing the map.
x int The x-position of the chunk to populate.
y int The y-position of the chunk to populate.
z int The z-position of the chunk to populate.
리턴 void

SetSeed() 공개 메소드

Sets the seed that is used to create chunks.
public SetSeed ( int seed ) : void
seed int A long integer representing the seed that is used to create chunks.
리턴 void