|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.util.grid.torus.HorizontalTorus
Acts as a torus in the horizontal direction.
Constructor Summary | |
HorizontalTorus(int width)
Create a horizontal torus. |
Method Summary | |
Coordinate |
transform(Coordinate coordinate)
Modifiy the coordinate according to the Torus implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HorizontalTorus(int width)
width
- the width in tilesMethod Detail |
public final Coordinate transform(Coordinate coordinate)
transform
in interface ITorus
coordinate
- the coordinate to transform
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |