public interface GridLayoutStrategy
HexagonalGrid corresponding to a given shape.| Modifier and Type | Method and Description |
|---|---|
default boolean |
checkParameters(int gridHeight,
int gridWidth)
Checks whether the supplied parameters are valid for the given strategy.
|
Set<AxialCoordinate> |
fetchGridCoordinates(HexagonalGridBuilder builder)
Fetches a monotonically increasing (from left to right, top to bottom) Set of
grid coordinates corresponding to the shape of the requested grid layout.
|
Set<AxialCoordinate> fetchGridCoordinates(HexagonalGridBuilder builder)
default boolean checkParameters(int gridHeight,
int gridWidth)
Copyright © 2016. All rights reserved.