Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Protected Attributes | List of all members
cHeiGenSteppy Class Reference
Inheritance diagram for cHeiGenSteppy:
Inheritance graph
[legend]
Collaboration diagram for cHeiGenSteppy:
Collaboration graph
[legend]

Public Member Functions

 cHeiGenSteppy (int a_Seed)
 
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

std::shared_ptr< cProtIntGenm_Gen
 
int m_Seed
 

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 22 of file HeiGen.cpp.

Constructor & Destructor Documentation

◆ cHeiGenSteppy()

cHeiGenSteppy::cHeiGenSteppy ( int  a_Seed)
inline

Definition at line 26 of file HeiGen.cpp.

Member Function Documentation

◆ GenHeightMap()

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

Retrieves the heightmap for the specified chunk.

Implements cTerrainHeightGen.

Definition at line 58 of file HeiGen.cpp.

Member Data Documentation

◆ m_Gen

std::shared_ptr<cProtIntGen> cHeiGenSteppy::m_Gen
protected

Definition at line 74 of file HeiGen.cpp.

◆ m_Seed

int cHeiGenSteppy::m_Seed
protected

Definition at line 72 of file HeiGen.cpp.


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