Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Protected Member Functions | List of all members
cCompoGenDebugBiomes Class Reference

#include <CompoGen.h>

Inheritance diagram for cCompoGenDebugBiomes:
Inheritance graph
[legend]
Collaboration diagram for cCompoGenDebugBiomes:
Collaboration graph
[legend]

Public Member Functions

 cCompoGenDebugBiomes (void)
 
- Public Member Functions inherited from cTerrainCompositionGen
virtual void InitializeCompoGen (cIniFile &a_IniFile)
 Reads parameters from the ini file, prepares generator for use. More...
 
virtual ~cTerrainCompositionGen ()
 

Protected Member Functions

virtual void ComposeTerrain (cChunkDesc &a_ChunkDesc, const cChunkDesc::Shape &a_Shape) override
 Generates the chunk's composition into a_ChunkDesc, using the terrain shape provided in a_Shape. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from cTerrainCompositionGen
static std::unique_ptr< cTerrainCompositionGenCreateCompositionGen (cIniFile &a_IniFile, cBiomeGen &a_BiomeGen, cTerrainShapeGen &a_ShapeGen, int a_Seed)
 Creates the correct TerrainCompositionGen descendant based on the ini file settings and the seed provided. More...
 

Detailed Description

Definition at line 49 of file CompoGen.h.

Constructor & Destructor Documentation

◆ cCompoGenDebugBiomes()

cCompoGenDebugBiomes::cCompoGenDebugBiomes ( void  )
inline

Definition at line 53 of file CompoGen.h.

Member Function Documentation

◆ ComposeTerrain()

void cCompoGenDebugBiomes::ComposeTerrain ( cChunkDesc a_ChunkDesc,
const cChunkDesc::Shape a_Shape 
)
overrideprotectedvirtual

Generates the chunk's composition into a_ChunkDesc, using the terrain shape provided in a_Shape.

Is expected to fill a_ChunkDesc's heightmap with the data from a_Shape.

Implements cTerrainCompositionGen.

Definition at line 66 of file CompoGen.cpp.


The documentation for this class was generated from the following files: