|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractModule
TreeModule
public class TreeModule
adds trees, tree rows, tree groups and forests to the world
Field Summary | |
---|---|
protected static Texture |
treeTexture
|
Constructor Summary | |
---|---|
TreeModule()
|
Method Summary | |
---|---|
protected void |
applyToArea(MapArea area)
create WorldObject s for a MapArea . |
protected void |
applyToNode(MapNode node)
create WorldObject s for a MapNode . |
protected void |
applyToWaySegment(MapWaySegment segment)
create WorldObject s for a MapWaySegment . |
Methods inherited from class AbstractModule |
---|
applyTo, applyToElement |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Texture treeTexture
Constructor Detail |
---|
public TreeModule()
Method Detail |
---|
protected void applyToNode(MapNode node)
AbstractModule
WorldObject
s for a MapNode
.
Can be overwritten by subclasses.
The default implementation calls AbstractModule.applyToElement(MapElement)
.
applyToNode
in class AbstractModule
protected void applyToWaySegment(MapWaySegment segment)
AbstractModule
WorldObject
s for a MapWaySegment
.
Can be overwritten by subclasses.
The default implementation calls AbstractModule.applyToElement(MapElement)
.
applyToWaySegment
in class AbstractModule
protected void applyToArea(MapArea area)
AbstractModule
WorldObject
s for a MapArea
.
Can be overwritten by subclasses.
The default implementation calls AbstractModule.applyToElement(MapElement)
.
applyToArea
in class AbstractModule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |