TerrainGen

Undocumented in source.

Constructors

this
this(int xbits, int zbits)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

filter
void filter(int range)
Undocumented in source. Be warned that the author may not have intended to support it.
generate
void generate(int seed, short[] initData, int stepBits)
Undocumented in source. Be warned that the author may not have intended to support it.
generateWithScale
void generateWithScale(int seed, short[] initData, int stepBits, TerrainGen scaleMap)
Undocumented in source. Be warned that the author may not have intended to support it.
get
int get(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
getHeightDiff
int getHeightDiff(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
limit
void limit(int minvalue, int maxvalue)

ensure that data is in range [minvalue, maxvalue]

set
void set(int x, int y, int value)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

height
int height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
width
int width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta