|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HexDirection | |
---|---|
util | |
util.grid |
Uses of HexDirection in util |
---|
Methods in util that return HexDirection | |
---|---|
HexDirection |
HexDirection.clockwise()
|
HexDirection |
HexDirection.counterClockwise()
|
static HexDirection |
HexDirection.fromString(String str)
Returns the enum representation of a string. |
static HexDirection |
HexDirection.random()
Returns a random hexagonal direction. |
HexDirection |
HexDirection.reverse()
|
static HexDirection |
HexDirection.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HexDirection[] |
HexDirection.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Uses of HexDirection in util.grid |
---|
Methods in util.grid that return types with arguments of type HexDirection | |
---|---|
static ArrayList<HexDirection> |
PointTools.getHexPath(Point p1,
Point p2,
boolean route)
Provides the the shortest directions from one point to another. |
static HashMap<HexDirection,ArrayList<Point>> |
PointTools.getHexRotations(Collection<Point> locations,
Point pivot,
HexDirection patternDir)
Constructs all rotations for a collection of locations around a pivot point. |
Methods in util.grid with parameters of type HexDirection | |
---|---|
static HashMap<HexDirection,ArrayList<Point>> |
PointTools.getHexRotations(Collection<Point> locations,
Point pivot,
HexDirection patternDir)
Constructs all rotations for a collection of locations around a pivot point. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |