add-to-cell ( board location obj -- board )


Vocabulary
gamelib.board

Inputs
boardan object
locationan object
objan object


Outputs
boardan object


Definition


:: add-to-cell ( board location obj -- board )
board cells>> :> cells board location get-cell
:> old-cell old-cell { obj } append
:> new-cell board location new-cell set-cell ;