| Modifier and Type | Field and Description |
|---|---|
| private float | hexSideLength
the parameter defining the shape of the hexagon from tiled. |
| private boolean | staggerAxisX
true for X-Axis, false for Y-Axis |
| private boolean | staggerIndexEven
true for even StaggerIndex, false for odd |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| private void | |
| public boolean | |
| public boolean | |
| private void | renderCell(final TiledMapTileLayer.
render a single cell |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| hexSideLength | back to summary |
|---|---|
| private float hexSideLength the parameter defining the shape of the hexagon from tiled. more specifically it represents the length of the sides that are parallel to the stagger axis. e.g. with respect to the stagger axis a value of 0 results in a rhombus shape, while a value equal to the tile length/height represents a square shape and a value of 0.5 represents a regular hexagon if tile length equals tile height | |
| staggerAxisX | back to summary |
|---|---|
| private boolean staggerAxisX true for X-Axis, false for Y-Axis | |
| staggerIndexEven | back to summary |
|---|---|
| private boolean staggerIndexEven true for even StaggerIndex, false for odd | |
| HexagonalTiledMapRenderer | back to summary |
|---|---|
| public HexagonalTiledMapRenderer(TiledMap map) | |
| HexagonalTiledMapRenderer | back to summary |
|---|---|
| public HexagonalTiledMapRenderer(TiledMap map, float unitScale) | |
| HexagonalTiledMapRenderer | back to summary |
|---|---|
| public HexagonalTiledMapRenderer(TiledMap map, Batch batch) | |
| HexagonalTiledMapRenderer | back to summary |
|---|---|
| public HexagonalTiledMapRenderer(TiledMap map, float unitScale, Batch batch) | |
| getHexSideLength | back to summary |
|---|---|
| public float getHexSideLength() | |
| init | back to summary |
|---|---|
| private void init(TiledMap map) | |
| isStaggerAxisX | back to summary |
|---|---|
| public boolean isStaggerAxisX() | |
| isStaggerIndexEven | back to summary |
|---|---|
| public boolean isStaggerIndexEven() | |
| renderCell | back to summary |
|---|---|
| private void renderCell(final TiledMapTileLayer. render a single cell | |
| renderImageLayer | back to summary |
|---|---|
| public void renderImageLayer(TiledMapImageLayer layer) Overrides com. Implements com.
| |
| renderTileLayer | back to summary |
|---|---|
| public void renderTileLayer(TiledMapTileLayer layer) Implements com.
| |
| setHexSideLength | back to summary |
|---|---|
| public void setHexSideLength(float hexSideLength) | |
| setStaggerAxisX | back to summary |
|---|---|
| public void setStaggerAxisX(boolean staggerAxisX) | |
| setStaggerIndexEven | back to summary |
|---|---|
| public void setStaggerIndexEven(boolean staggerIndexEven) | |