public abstract class HexGrid<T> extends AbstractGrid<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
CELL_MAX_NEIGHBORS |
protected float |
mCellRadius |
static float |
SQRT_3 |
static java.lang.String |
TAG |
mBounds, mData, mScratchList, mSize, mUseCellCenter| Constructor and Description |
|---|
HexGrid(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
float |
getCellSize() |
void |
setCellSize(float cellSize) |
cellToPointPath, cellToPointPath, dispose, getBounds, getDataAt, getSize, setDataAt, setSize, updateBoundsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcellToPoint, cellToPoint, pointToCell, pointToCellpublic static final java.lang.String TAG
public static final float SQRT_3
public static final int CELL_MAX_NEIGHBORS
protected float mCellRadius