public abstract class AbstractBiomeScheme extends java.lang.Object implements BiomeScheme
BiomeScheme
s.Constructor and Description |
---|
AbstractBiomeScheme() |
Modifier and Type | Method and Description |
---|---|
int[] |
getBiomes(int x,
int y,
int width,
int height)
Get the biomes for a specific rectangular area of the world.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBiomeCount, getBiomeName, getBiomes, getColour, getPattern, getStringId, isBiomePresent, setSeed
public int[] getBiomes(int x, int y, int width, int height)
BiomeScheme
Note: the returned buffer is only valid until the next invocation of this method. If the method is invoked again the results of the buffer may be overwritten or otherwise become invalid.
getBiomes
in interface BiomeScheme
x
- The X coordinate in the WorldPainter coordinate system.y
- The Y coordinate in the WorldPainter coordinate system.width
- The width along the X axis of the area.height
- The height along the Y axis of the area.