|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcivquest.CoordinateSystem
Field Summary | |
Coordinate |
n
|
int |
nx
|
Constructor Summary | |
CoordinateSystem()
|
Method Summary | |
abstract Coordinate |
getCoordinate(Coordinate from,
int direction)
Determines, for this coordinate system, the coordinate of the cell in the given direction. |
abstract java.util.Vector |
getDirectNeighborCoordinates(Coordinate coord)
The same function as above, it just returns the coordinates in a Vector (for the case that this helps the caller). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Coordinate n
public int nx
Constructor Detail |
public CoordinateSystem()
Method Detail |
public abstract Coordinate getCoordinate(Coordinate from, int direction)
public abstract java.util.Vector getDirectNeighborCoordinates(Coordinate coord)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |