draw-cells ( n gadget -- )


Vocabulary
gamelib.ui

Inputs
nan object
gadgetan object


Outputs
None

Definition


:: draw-cells ( n gadget -- )
n gadget board>> nth
cells>> :> cell n gadget get-cell-dimension
:> celldims n gadget get-dimension-matrix
:> dim-matrix cell dim-matrix
[ [ celldims gadget draw-single ] 2each ] 2each ;