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.
|
Collection<Hexagon> |
createHexagons(HexagonalGridBuilder builder)
Creates the
Hexagon objects which fit in the shape
of the requested layout. |
Collection<Hexagon> createHexagons(HexagonalGridBuilder builder)
Hexagon objects which fit in the shape
of the requested layout.builder - contains the data neededdefault boolean checkParameters(int gridHeight,
int gridWidth)
gridHeight - gridWidth - Copyright © 2016. All rights reserved.