get

operator fun get(columnIndex: Int, rowIndex: Int): T?

Gets the hexagon at the specified column index and row index.

Return

The hexagon at the specified coordinates, or null if no hexagon is found.

Parameters

columnIndex

The column index of the hexagon.

rowIndex

The row index of the hexagon.