public class RingGenPlugin extends java.lang.Object implements TerrainGenPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
RingGenPlugin.RingGenData |
static class |
RingGenPlugin.TexAndIndex |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RING_GEN_DATA_KEY |
| Constructor and Description |
|---|
RingGenPlugin() |
| Modifier and Type | Method and Description |
|---|---|
StarSystemGenerator.GenResult |
generate(TerrainGenDataSpec terrainData,
StarSystemGenerator.GenContext context) |
RingGenPlugin.RingGenData |
getData(StarSystemGenerator.GenContext context) |
protected RingGenPlugin.TexAndIndex |
getTexAndIndex(TerrainGenDataSpec data) |
boolean |
wantsToHandle(TerrainGenDataSpec terrainData,
StarSystemGenerator.GenContext context) |
public static final java.lang.String RING_GEN_DATA_KEY
public RingGenPlugin()
protected RingGenPlugin.TexAndIndex getTexAndIndex(TerrainGenDataSpec data)
public RingGenPlugin.RingGenData getData(StarSystemGenerator.GenContext context)
public StarSystemGenerator.GenResult generate(TerrainGenDataSpec terrainData, StarSystemGenerator.GenContext context)
generate in interface TerrainGenPluginpublic boolean wantsToHandle(TerrainGenDataSpec terrainData, StarSystemGenerator.GenContext context)
wantsToHandle in interface TerrainGenPlugin