C# Class Terrain, Immersion

Exibir arquivo Open project: copygirl/Immersion Class Usage Examples

Public Methods

Method Description
CreateChunk ( ChunkPos, pos ) : TerrainChunk,
GetMaterial ( int materialId ) : BlockMaterial,
GetMaterialId ( BlockMaterial, material ) : int
RegisterMaterial ( BlockMaterial, material ) : int
Terrain ( ) : System
this ( BlockPos pos ) : IBlock
this ( ChunkPos pos ) : IChunk

Method Details

CreateChunk() public method

public CreateChunk ( ChunkPos, pos ) : TerrainChunk,
pos ChunkPos,
return TerrainChunk,

GetMaterial() public method

public GetMaterial ( int materialId ) : BlockMaterial,
materialId int
return BlockMaterial,

GetMaterialId() public method

public GetMaterialId ( BlockMaterial, material ) : int
material BlockMaterial,
return int

RegisterMaterial() public method

public RegisterMaterial ( BlockMaterial, material ) : int
material BlockMaterial,
return int

Terrain() public method

public Terrain ( ) : System
return System

this() public method

public this ( BlockPos pos ) : IBlock
pos BlockPos
return IBlock

this() public method

public this ( ChunkPos pos ) : IChunk
pos ChunkPos
return IChunk