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

#include <BioGen.h>

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

Public Member Functions

 cBioGenConstant (void)
 
- Public Member Functions inherited from cBiomeGen
virtual ~cBiomeGen ()
 

Protected Member Functions

virtual void GenBiomes (cChunkCoords a_ChunkCoords, cChunkDef::BiomeMap &a_BiomeMap) override
 Generates biomes for the given chunk. More...
 
virtual void InitializeBiomeGen (cIniFile &a_IniFile) override
 Reads parameters from the ini file, prepares generator for use. More...
 

Protected Attributes

EMCSBiome m_Biome
 

Additional Inherited Members

- Static Public Member Functions inherited from cBiomeGen
static std::unique_ptr< cBiomeGenCreateBiomeGen (cIniFile &a_IniFile, int a_Seed, bool &a_CacheOffByDefault)
 Creates the correct BiomeGen descendant based on the ini file settings. More...
 

Detailed Description

Definition at line 25 of file BioGen.h.

Constructor & Destructor Documentation

◆ cBioGenConstant()

cBioGenConstant::cBioGenConstant ( void  )
inline

Definition at line 29 of file BioGen.h.

Member Function Documentation

◆ GenBiomes()

void cBioGenConstant::GenBiomes ( cChunkCoords  a_ChunkCoords,
cChunkDef::BiomeMap a_BiomeMap 
)
overrideprotectedvirtual

Generates biomes for the given chunk.

Implements cBiomeGen.

Definition at line 20 of file BioGen.cpp.

◆ InitializeBiomeGen()

void cBioGenConstant::InitializeBiomeGen ( cIniFile a_IniFile)
overrideprotectedvirtual

Reads parameters from the ini file, prepares generator for use.

Reimplemented from cBiomeGen.

Definition at line 33 of file BioGen.cpp.

Member Data Documentation

◆ m_Biome

EMCSBiome cBioGenConstant::m_Biome
protected

Definition at line 33 of file BioGen.h.


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