|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jtge.util.grid.direction.Direction jtge.util.grid.direction.South
Implements the south direction.
Field Summary |
Fields inherited from class jtge.util.grid.direction.Direction |
EAST, NORTH, NORTH_EAST, NORTH_WEST, SOUTH, SOUTH_EAST, SOUTH_WEST, WEST |
Constructor Summary | |
South()
Create a north direction. |
Method Summary | |
Coordinate |
transform(Coordinate coordinate)
Transforms a coordinate according to the general contract of the direction. |
Coordinate |
transform(Coordinate coordinate,
IDirectionGroup directionGroup)
Follow the direction from a given coordinate. |
Methods inherited from class jtge.util.grid.direction.Direction |
equals, getName, getShortName, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public South()
Method Detail |
public final Coordinate transform(Coordinate coordinate, IDirectionGroup directionGroup)
coordinate
- the origindirectionGroup
- the direction group strategy
public final Coordinate transform(Coordinate coordinate)
coordinate
- the coordinate to transform
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |