Handbook
Glossary
tick-update ( game-state -- )
Vocabulary
gamelib
.
demos
.
flow-demo
Inputs
game-state
an
object
Outputs
None
Definition
USING:
accessors
gamelib.board
kernel
sequences
ui.gadgets
;
IN:
gamelib.demos.flow-demo
::
tick-update
( game-state -- )
game-state
gadget>>
:>
g g
board>>
:>
boards boards
first
[
crate-cell
cell-contains-instance?
]
find-all-cells
:>
all-cells boards
first
all-cells
[
update-all-cells-with-flowcells
]
with
each
g
relayout
;