C# Класс ManicDigger.MapTools.Generators.ExperimentalWorldGenerator

Provides a chunk generator that uses an experimental algorithm to create unusual or weird structures.
Наследование: WorldGeneratorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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