Handbook
Glossary
move-children ( board move parent -- board )
Vocabulary
gamelib
.
cell-object
Inputs
board
an
object
move
an
object
parent
an
object
Outputs
board
an
object
Definition
USING:
accessors
gamelib.board
kernel
math.vectors
sequences
;
IN:
gamelib.cell-object
::
move-children
( board move parent -- board )
parent
children>>
:>
children parent children
[
move
v+
]
map
>>children
drop
board children children
[
move
v+
]
map
board children
first
get-cell
move-many-objects
;