org.osm2world.core.world.modules
Class TreeModule

Object
  extended by ConfigurableWorldModule
      extended by TreeModule
All Implemented Interfaces:
WorldModule

public class TreeModule
extends ConfigurableWorldModule

adds trees, tree rows, tree groups and forests to the world


Field Summary
 
Fields inherited from class ConfigurableWorldModule
config
 
Constructor Summary
TreeModule()
           
 
Method Summary
 void applyTo(MapData mapData)
          adds WorldObjects to MapElements
 void setConfiguration(Configuration config)
          provides a Configuration that can be used to control aspects of a WorldModule's behavior.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeModule

public TreeModule()
Method Detail

setConfiguration

public void setConfiguration(Configuration config)
Description copied from interface: WorldModule
provides a 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.

Specified by:
setConfiguration in interface WorldModule
Overrides:
setConfiguration in class ConfigurableWorldModule

applyTo

public final void applyTo(MapData mapData)
Description copied from interface: WorldModule
adds WorldObjects to MapElements