public abstract class LayerContext<R extends IArea> extends java.lang.Object implements IContextExtended<R>
Modifier and Type | Field and Description |
---|---|
protected NoiseGeneratorImproved |
noiseGenerator |
protected long |
seedModifier |
Constructor and Description |
---|
LayerContext(long seedModifier) |
Modifier and Type | Method and Description |
---|---|
NoiseGeneratorImproved |
getNoiseGenerator() |
int |
random(int bound) |
int |
selectRandomly(int... choices) |
void |
setPosition(long x,
long z) |
void |
setSeed(long seed) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
makeArea, makeArea, makeArea
protected long seedModifier
protected NoiseGeneratorImproved noiseGenerator
public void setSeed(long seed)
public void setPosition(long x, long z)
setPosition
in interface IContextExtended<R extends IArea>
public int selectRandomly(int... choices)
selectRandomly
in interface IContextExtended<R extends IArea>
public NoiseGeneratorImproved getNoiseGenerator()
getNoiseGenerator
in interface IContext