public class UndergroundPocketsLayerExporter extends AbstractLayerExporter<UndergroundPocketsLayer> implements FirstPassLayerExporter
AbstractLayerExporter.ChunksInTilesVisitor| Constructor and Description |
|---|
UndergroundPocketsLayerExporter(Dimension dimension,
Platform platform,
UndergroundPocketsLayer layer) |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
createPreview(UndergroundPocketsLayer layer,
int width,
int height)
Create a black and white preview of the layer.
|
static java.awt.image.BufferedImage |
createPreview(UndergroundPocketsLayer layer,
int width,
int height,
ColourScheme colourScheme,
Terrain subsurfaceMaterial,
Platform platform)
Create a coloured preview of the layer.
|
void |
render(Tile tile,
Chunk chunk)
Render the chunk.
|
getDimension, getLayer, visitChunksForLayerInAreaForEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLayerpublic UndergroundPocketsLayerExporter(Dimension dimension, Platform platform, UndergroundPocketsLayer layer)
public void render(Tile tile, Chunk chunk)
FirstPassLayerExporterrender in interface FirstPassLayerExportertile - The tile that is currently being rendered.chunk - The chunk that is currently being rendered.public static java.awt.image.BufferedImage createPreview(UndergroundPocketsLayer layer, int width, int height)
public static java.awt.image.BufferedImage createPreview(UndergroundPocketsLayer layer, int width, int height, ColourScheme colourScheme, Terrain subsurfaceMaterial, Platform platform)