Declaration
public Grid(
int width,
int height
)Summary
Constructs an
OctoCell.Grid that forms a rectangle. Along the perimeter all the cells will be octagons.
Only squares internal to these octagons are included.
Parameters
| int | width |
The number of octagons in the x direction. |
| int | height |
The number of octagons in the y direction. |