Search in sources :

Example 1 with ImportMaskDialog

use of org.pepsoft.worldpainter.importing.ImportMaskDialog in project WorldPainter by Captain-Chaos.

the class App method importMask.

private void importMask() {
    List<Layer> allLayers = new ArrayList<>();
    allLayers.add(Biome.INSTANCE);
    allLayers.add(Annotations.INSTANCE);
    allLayers.addAll(getAllLayers());
    ImportMaskDialog dialog = new ImportMaskDialog(this, dimension, selectedColourScheme, allLayers);
    dialog.setVisible(true);
}
Also used : ImportMaskDialog(org.pepsoft.worldpainter.importing.ImportMaskDialog) TunnelLayer(org.pepsoft.worldpainter.layers.tunnel.TunnelLayer) UndergroundPocketsLayer(org.pepsoft.worldpainter.layers.pockets.UndergroundPocketsLayer) GroundCoverLayer(org.pepsoft.worldpainter.layers.groundcover.GroundCoverLayer) PlantLayer(org.pepsoft.worldpainter.layers.plants.PlantLayer)

Aggregations

ImportMaskDialog (org.pepsoft.worldpainter.importing.ImportMaskDialog)1 GroundCoverLayer (org.pepsoft.worldpainter.layers.groundcover.GroundCoverLayer)1 PlantLayer (org.pepsoft.worldpainter.layers.plants.PlantLayer)1 UndergroundPocketsLayer (org.pepsoft.worldpainter.layers.pockets.UndergroundPocketsLayer)1 TunnelLayer (org.pepsoft.worldpainter.layers.tunnel.TunnelLayer)1