public class FloatingLayerExporter extends AbstractTunnelLayerExporter implements FirstPassLayerExporter, SecondPassLayerExporter
AbstractCavesExporter.CaveDecorationSettingsAbstractLayerExporter.ChunksInTilesVisitorSecondPassLayerExporter.StageHEIGHT_MARKER_FONT, helperdecorationEnabled| Constructor and Description |
|---|
FloatingLayerExporter(Dimension dimension,
Platform platform,
TunnelLayer layer,
TunnelLayerHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
static java.awt.image.BufferedImage |
generatePreview(Dimension backgroundDimension,
TunnelLayer layer,
int width,
int height,
int waterLevel,
int minHeight,
int baseHeight,
int range) |
java.util.Set<SecondPassLayerExporter.Stage> |
getStages() |
void |
render(Tile surfaceTile,
Chunk chunk)
Render the chunk.
|
addFeatures, setIfSolid, whereTunnelIsRealisedDodecorateBlock, emptyBlockEncountered, processBlock, resetColumn, setupForColumngetDimension, getLayer, visitChunksForLayerInAreaForEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFeatures, carve, rendergetLayerpublic FloatingLayerExporter(Dimension dimension, Platform platform, TunnelLayer layer, TunnelLayerHelper helper)
public void render(Tile surfaceTile, Chunk chunk)
FirstPassLayerExporterrender in interface FirstPassLayerExportersurfaceTile - The tile that is currently being rendered.chunk - The chunk that is currently being rendered.public java.util.Set<SecondPassLayerExporter.Stage> getStages()
getStages in interface SecondPassLayerExporterpublic static java.awt.image.BufferedImage generatePreview(Dimension backgroundDimension, TunnelLayer layer, int width, int height, int waterLevel, int minHeight, int baseHeight, int range)