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

#include <CompositedHeiGen.h>

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

Public Member Functions

 cCompositedHeiGen (cBiomeGen &a_BiomeGen, cTerrainShapeGen &a_ShapeGen, cTerrainCompositionGen &a_CompositionGen)
 
virtual void GenHeightMap (cChunkCoords a_ChunkCoords, cChunkDef::HeightMap &a_HeightMap) override
 Retrieves the heightmap for the specified chunk. More...
 
- Public Member Functions inherited from cTerrainHeightGen
virtual HEIGHTTYPE GetHeightAt (int a_BlockX, int a_BlockZ)
 Returns the height at the specified column. More...
 
virtual void InitializeHeightGen (cIniFile &a_IniFile)
 Initializes the generator, reading its parameters from the INI file. More...
 
virtual ~cTerrainHeightGen ()
 

Protected Attributes

cBiomeGenm_BiomeGen
 
cTerrainCompositionGenm_CompositionGen
 
cTerrainShapeGenm_ShapeGen
 

Additional Inherited Members

- Static Public Member Functions inherited from cTerrainHeightGen
static std::unique_ptr< cTerrainHeightGenCreateHeightGen (cIniFile &a_IniFile, cBiomeGen &a_BiomeGen, int a_Seed, bool &a_CacheOffByDefault)
 Creates a cTerrainHeightGen descendant based on the INI file settings. More...
 

Detailed Description

Definition at line 19 of file CompositedHeiGen.h.

Constructor & Destructor Documentation

◆ cCompositedHeiGen()

cCompositedHeiGen::cCompositedHeiGen ( cBiomeGen a_BiomeGen,
cTerrainShapeGen a_ShapeGen,
cTerrainCompositionGen a_CompositionGen 
)
inline

Definition at line 23 of file CompositedHeiGen.h.

Member Function Documentation

◆ GenHeightMap()

virtual void cCompositedHeiGen::GenHeightMap ( cChunkCoords  a_ChunkCoords,
cChunkDef::HeightMap a_HeightMap 
)
inlineoverridevirtual

Retrieves the heightmap for the specified chunk.

Implements cTerrainHeightGen.

Definition at line 33 of file CompositedHeiGen.h.

Member Data Documentation

◆ m_BiomeGen

cBiomeGen& cCompositedHeiGen::m_BiomeGen
protected

Definition at line 45 of file CompositedHeiGen.h.

◆ m_CompositionGen

cTerrainCompositionGen& cCompositedHeiGen::m_CompositionGen
protected

Definition at line 47 of file CompositedHeiGen.h.

◆ m_ShapeGen

cTerrainShapeGen& cCompositedHeiGen::m_ShapeGen
protected

Definition at line 46 of file CompositedHeiGen.h.


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