add

fun add(solid: Solid)(source)

Adds solid, made with Solid.moving, to the solids that move. Adding one already there does nothing.

Throws

if solid belongs to a grid cell.