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

Base class for generators that use a list of available biomes. More...

#include <BioGen.h>

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

Protected Types

typedef std::vector< EMCSBiomeEMCSBiomes
 

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

- Public Member Functions inherited from cBiomeGen
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 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

Base class for generators that use a list of available biomes.

This class takes care of the list.

Definition at line 123 of file BioGen.h.

Member Typedef Documentation

◆ EMCSBiomes

typedef std::vector<EMCSBiome> cBiomeGenList::EMCSBiomes
protected

Definition at line 131 of file BioGen.h.

◆ Super

Definition at line 126 of file BioGen.h.

Member Function Documentation

◆ InitializeBiomes()

void cBiomeGenList::InitializeBiomes ( const AString a_Biomes)
protected

Parses the INI file setting string into m_Biomes.

Definition at line 183 of file BioGen.cpp.

Member Data Documentation

◆ m_Biomes

EMCSBiomes cBiomeGenList::m_Biomes
protected

Definition at line 132 of file BioGen.h.

◆ m_BiomesCount

int cBiomeGenList::m_BiomesCount
protected

Definition at line 133 of file BioGen.h.


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