|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ConfigurableWorldModule TreeModule
public class TreeModule
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 WorldObject s to MapElement s |
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 |
---|
public TreeModule()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |