springies.models.3snake: Use fry instead of bake
parent
fa03e3147e
commit
b1a37e1717
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
USING: kernel namespaces arrays sequences threads math ui random bake
|
USING: kernel namespaces arrays sequences threads math ui random fry
|
||||||
springies springies.ui ;
|
springies springies.ui ;
|
||||||
|
|
||||||
IN: springies.models.3snake
|
IN: springies.models.3snake
|
||||||
|
@ -158,8 +158,10 @@ times
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
: go* ( quot -- )
|
! : go* ( quot -- )
|
||||||
[ [ [ springies-window* 1000 sleep % ] with-scope ] with-ui ] bake call ;
|
! [ [ [ springies-window* 1000 sleep % ] with-scope ] with-ui ] bake call ;
|
||||||
|
|
||||||
|
: go* ( quot -- ) '[ [ springies-window* 1000 sleep @ ] with-scope ] with-ui ;
|
||||||
|
|
||||||
! : go ( -- ) [ [ springies-window* 1000 sleep model ] with-scope ] with-ui ;
|
! : go ( -- ) [ [ springies-window* 1000 sleep model ] with-scope ] with-ui ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue