public final class SharedHexagonData extends Object
Hexagons of a HexagonalGrid.
This is just for optimization of memory usage.| Constructor and Description |
|---|
SharedHexagonData(HexagonOrientation orientation,
double radius) |
| Modifier and Type | Method and Description |
|---|---|
double |
getHeight() |
HexagonOrientation |
getOrientation() |
double |
getRadius() |
double |
getWidth() |
public SharedHexagonData(HexagonOrientation orientation, double radius)
public HexagonOrientation getOrientation()
public double getRadius()
public double getHeight()
public double getWidth()
Copyright © 2016. All rights reserved.