org.osm2world.core.world.modules
public class TreeModule extends ConfigurableWorldModule
Modifier and Type | Class and Description |
---|---|
class |
TreeModule.Forest |
class |
TreeModule.Tree |
class |
TreeModule.TreeRow |
config
Constructor and Description |
---|
TreeModule() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(MapData mapData)
adds
WorldObject s to MapElement s |
void |
setConfiguration(Configuration config)
provides a
Configuration that can be used to control aspects
of a WorldModule's behavior. |
public void setConfiguration(Configuration config)
WorldModule
Configuration
that can be used to control aspects
of a WorldModule's behavior.
This is guaranteed to be called before WorldModule.applyTo(MapData)
,
but not all parameters might be explicitly set in the configuration,
so defaults need to be available.setConfiguration
in interface WorldModule
setConfiguration
in class ConfigurableWorldModule
public final void applyTo(MapData mapData)
WorldModule
WorldObject
s to MapElement
s