|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object TunnelModule.TunnelJunction
public static class TunnelModule.TunnelJunction
Constructor Summary | |
---|---|
TunnelModule.TunnelJunction(MapNode node,
JunctionNodeWorldObject primaryRep)
|
Method Summary | |
---|---|
double |
getClearingAbove(VectorXZ pos)
returns the amount of free space above the base elevation required by this feature. |
double |
getClearingBelow(VectorXZ pos)
returns the amount of free space below the base elevation required by this feature. |
GroundState |
getGroundState()
returns whether this feature is on, above or below the ground. |
MapElement |
getPrimaryMapElement()
returns the "primary" MapElement for this WorldObject;
i.e. |
void |
renderTo(Target<?> target)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TunnelModule.TunnelJunction(MapNode node, JunctionNodeWorldObject primaryRep)
Method Detail |
---|
public MapElement getPrimaryMapElement()
WorldObject
MapElement
for this WorldObject;
i.e. the one it is most strongly associated with.
Can be null if there is no (clear) primary element for this feature.
getPrimaryMapElement
in interface WorldObject
public double getClearingAbove(VectorXZ pos)
WorldObject
getClearingAbove
in interface WorldObject
public double getClearingBelow(VectorXZ pos)
WorldObject
getClearingBelow
in interface WorldObject
public GroundState getGroundState()
WorldObject
getGroundState
in interface WorldObject
public void renderTo(Target<?> target)
renderTo
in interface RenderableToAllTargets
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |