| Package | Description |
|---|---|
| org.codetome.hexameter.core.api | |
| org.codetome.hexameter.core.internal |
| Modifier and Type | Method and Description |
|---|---|
HexagonOrientation |
HexagonalGridBuilder.getOrientation() |
static HexagonOrientation |
HexagonOrientation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HexagonOrientation[] |
HexagonOrientation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
CoordinateConverter.convertOffsetCoordinatesToCubeX(int offsetX,
int offsetY,
HexagonOrientation orientation)
Calculates the cube X coordinate based on an offset coordinate pair.
|
static int |
CoordinateConverter.convertOffsetCoordinatesToCubeZ(int offsetX,
int offsetY,
HexagonOrientation orientation)
Calculates the cube Z coordinate based on an offset coordinate pair.
|
HexagonalGridBuilder |
HexagonalGridBuilder.setOrientation(HexagonOrientation orientation)
Sets the
HexagonOrientation used in the resulting HexagonalGrid. |
| Modifier and Type | Method and Description |
|---|---|
HexagonOrientation |
GridData.getOrientation() |
| Constructor and Description |
|---|
GridData(HexagonOrientation orientation,
HexagonalGridLayout gridLayout,
double radius,
int gridWidth,
int gridHeight)
Creates a new GridData based on
orientation and radius. |
Copyright © 2016. All rights reserved.