Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Converts land biomes at the edge of an ocean into the respective beach biome. More...
#include <IntGen.h>
Public Types | |
using | Underlying = std::shared_ptr< cIntGen< m_UnderlyingSizeX, m_UnderlyingSizeZ > > |
Public Types inherited from cIntGen< SizeX, SizeX > | |
using | IntGenType = cIntGen< SizeX, SizeZ > |
using | Values = int[SizeX *SizeZ] |
Holds the array of values generated by this class (descendant). More... | |
Public Member Functions | |
cIntGenBeaches (Underlying a_Underlying) | |
virtual void | GetInts (int a_MinX, int a_MinZ, typename Super::Values &a_Values) override |
Generates the array of templated size into a_Values, based on given min coords. More... | |
Public Member Functions inherited from cIntGen< SizeX, SizeX > | |
virtual | ~cIntGen () |
Force a virtual destructor in all descendants. More... | |
Protected Attributes | |
Underlying | m_Underlying |
Private Types | |
using | Super = cIntGen< SizeX, SizeZ > |
Static Private Attributes | |
static const int | m_UnderlyingSizeX = SizeX + 2 |
static const int | m_UnderlyingSizeZ = SizeZ + 2 |
Converts land biomes at the edge of an ocean into the respective beach biome.
|
private |
using cIntGenBeaches< SizeX, SizeZ >::Underlying = std::shared_ptr<cIntGen<m_UnderlyingSizeX, m_UnderlyingSizeZ> > |
|
inline |
|
inlineoverridevirtual |
Generates the array of templated size into a_Values, based on given min coords.
Implements cIntGen< SizeX, SizeX >.
|
protected |
|
staticprivate |
|
staticprivate |