placeAt

fun placeAt(agent: A, voxel: Voxel)(source)

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


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