| Package | Description |
|---|---|
| org.codetome.hexameter.core.api | |
| org.codetome.hexameter.core.internal.impl |
| Modifier and Type | Method and Description |
|---|---|
static RotationDirection |
RotationDirection.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RotationDirection[] |
RotationDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Hexagon<T>> |
HexagonalGridCalculator.rotateHexagon(Hexagon<T> originalHex,
Hexagon<T> targetHex,
RotationDirection rotationDirection)
Returns the Hexagon on the grid which is at the point resulted by rotating the
targetHex's
coordinates around the originalHex by rotationDirection degrees. |
| Modifier and Type | Method and Description |
|---|---|
Optional<Hexagon<T>> |
HexagonalGridCalculatorImpl.rotateHexagon(Hexagon<T> originalHex,
Hexagon<T> targetHex,
RotationDirection rotationDirection) |
Copyright © 2016. All rights reserved.