Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Interface that all the generator classes provide. More...
#include <IntGen.h>
Public Types | |
using | IntGenType = cIntGen< SizeX, SizeZ > |
using | Values = int[SizeX *SizeZ] |
Holds the array of values generated by this class (descendant). More... | |
Public Member Functions | |
virtual void | GetInts (int a_MinX, int a_MinZ, Values &a_Values)=0 |
Generates the array of templated size into a_Values, based on given min coords. More... | |
virtual | ~cIntGen () |
Force a virtual destructor in all descendants. More... | |
Interface that all the generator classes provide.
using cIntGen< SizeX, SizeZ >::IntGenType = cIntGen<SizeX, SizeZ> |
|
pure virtual |
Generates the array of templated size into a_Values, based on given min coords.
Implemented in cIntGenMBiomes< SizeX, SizeZ >, cIntGenBiomeEdges< SizeX, SizeZ >, cIntGenAlternateBiomes< SizeX, SizeZ >, cIntGenRareBiomeGroups< SizeX, SizeZ >, cIntGenSetRandomly< SizeX, SizeZ >, cIntGenAddToOcean< SizeX, SizeZ >, cIntGenRiver< SizeX, SizeZ >, cIntGenMixRivers< SizeX, SizeZ >, cIntGenReplaceRandomly< SizeX, SizeZ >, cIntGenBiomes< SizeX, SizeZ >, cIntGenBiomeGroupEdges< SizeX, SizeZ >, cIntGenAddIslands< SizeX, SizeZ >, cIntGenBeaches< SizeX, SizeZ >, cIntGenSmooth< SizeX, SizeZ >, cIntGenZoom< SizeX, SizeZ >, cIntGenLandOcean< SizeX, SizeZ >, and cIntGenChoice< Range, SizeX, SizeZ >.