|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Orientation
Representation of directional orientations. Known implementing enums: Direction, HexDirection, and Corner
Method Summary | |
---|---|
Orientation |
clockwise()
Returns the next clockwise rotation. |
Orientation |
counterClockwise()
Returns the next counter-clockwise rotation. |
Point |
getOffset(Point loc)
Returns a point offset in this direction according to inverted cartesian coordinates (the same as Graphics objects). |
Orientation |
reverse()
Returns the opposite facing direction. |
Method Detail |
---|
Orientation clockwise()
Orientation counterClockwise()
Orientation reverse()
Point getOffset(Point loc)
loc
- location to be offset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |