|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ConfigurableWorldModule AbstractModule BridgeModule
public class BridgeModule
adds bridges to the world. Needs to be applied after all the modules that generate whatever runs over the bridge.
Field Summary | |
---|---|
static double |
BRIDGE_UNDERSIDE_HEIGHT
|
Fields inherited from class ConfigurableWorldModule |
---|
config |
Constructor Summary | |
---|---|
BridgeModule()
|
Method Summary | |
---|---|
protected void |
applyToWaySegment(MapWaySegment segment)
create WorldObject s for a MapWaySegment . |
static boolean |
isBridge(MapWaySegment segment)
|
static boolean |
isBridge(TagGroup tags)
|
Methods inherited from class AbstractModule |
---|
applyTo, applyToArea, applyToElement, applyToNode |
Methods inherited from class ConfigurableWorldModule |
---|
setConfiguration |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double BRIDGE_UNDERSIDE_HEIGHT
Constructor Detail |
---|
public BridgeModule()
Method Detail |
---|
public static final boolean isBridge(TagGroup tags)
public static final boolean isBridge(MapWaySegment segment)
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |