getCells

abstract fun getCells(): Set<Cell>(source)

Returns a set of all cells in this layer. There is no guarantee that the cells are ordered in any way. If you need an ordered list/grid of cells, use getCellsAsGrid.