placeAt

fun placeAt(agent: A, cell: Cell)(source)

Place agent at the given cell. For GridOccupancy.SINGLE grids, throws if the target cell is already occupied by a different agent.


fun placeAt(agent: A, col: Int, row: Int)(source)