org.osm2world.core.world.modules.common
public abstract class ConfigurableWorldModule extends Object implements WorldModule
WorldModule
s that stores a configuration set by
setConfiguration(org.apache.commons.configuration.Configuration)
Modifier and Type | Field and Description |
---|---|
protected Configuration |
config |
Constructor and Description |
---|
ConfigurableWorldModule() |
Modifier and Type | Method and Description |
---|---|
void |
setConfiguration(Configuration config)
provides a
Configuration that can be used to control aspects
of a WorldModule's behavior. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyTo
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