![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Base class for generators that use a list of available biomes. More...
#include <BioGen.h>
Protected Types | |
typedef std::vector< EMCSBiome > | EMCSBiomes |
Protected Member Functions | |
void | InitializeBiomes (const AString &a_Biomes) |
Parses the INI file setting string into m_Biomes. More... | |
Protected Attributes | |
EMCSBiomes | m_Biomes |
int | m_BiomesCount |
Private Types | |
using | Super = cBiomeGen |
Additional Inherited Members | |
![]() | |
virtual void | GenBiomes (cChunkCoords a_ChunkCoords, cChunkDef::BiomeMap &a_BiomeMap)=0 |
Generates biomes for the given chunk. More... | |
virtual void | InitializeBiomeGen (cIniFile &a_IniFile) |
Reads parameters from the ini file, prepares generator for use. More... | |
virtual | ~cBiomeGen () |
![]() | |
static std::unique_ptr< cBiomeGen > | CreateBiomeGen (cIniFile &a_IniFile, int a_Seed, bool &a_CacheOffByDefault) |
Creates the correct BiomeGen descendant based on the ini file settings. More... | |
Base class for generators that use a list of available biomes.
This class takes care of the list.
|
protected |
|
private |
|
protected |
Parses the INI file setting string into m_Biomes.
Definition at line 183 of file BioGen.cpp.
|
protected |