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

#include <BioGen.h>

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

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 Member Functions inherited from cBiomeGenList
void InitializeBiomes (const AString &a_Biomes)
 Parses the INI file setting string into m_Biomes. More...
 

Protected Attributes

int m_BiomeSize
 
- Protected Attributes inherited from cBiomeGenList
EMCSBiomes m_Biomes
 
int m_BiomesCount
 

Private Types

using Super = cBiomeGenList
 

Additional Inherited Members

- Public Member Functions inherited from cBiomeGen
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...
 
- Protected Types inherited from cBiomeGenList
typedef std::vector< EMCSBiomeEMCSBiomes
 

Detailed Description

Definition at line 143 of file BioGen.h.

Member Typedef Documentation

◆ Super

Definition at line 146 of file BioGen.h.

Member Function Documentation

◆ GenBiomes()

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

Generates biomes for the given chunk.

Implements cBiomeGen.

Definition at line 263 of file BioGen.cpp.

◆ InitializeBiomeGen()

void cBioGenCheckerboard::InitializeBiomeGen ( cIniFile a_IniFile)
overrideprotectedvirtual

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

Reimplemented from cBiomeGen.

Definition at line 281 of file BioGen.cpp.

Member Data Documentation

◆ m_BiomeSize

int cBioGenCheckerboard::m_BiomeSize
protected

Definition at line 150 of file BioGen.h.


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