set svn:eol-style
svn: r6068
This commit is contained in:
parent
19a2a1cc00
commit
a6ad897a70
|
@ -1,6 +1,6 @@
|
||||||
;; testing world
|
;; testing world
|
||||||
|
|
||||||
;; World = Nat
|
;; World = Nat
|
||||||
|
|
||||||
(define world0 10)
|
(define world0 10)
|
||||||
|
|
||||||
|
@ -21,10 +21,10 @@
|
||||||
[(symbol=? ke 'right) 90]
|
[(symbol=? ke 'right) 90]
|
||||||
[else w]))
|
[else w]))
|
||||||
|
|
||||||
;; run world run
|
;; run world run
|
||||||
|
|
||||||
(big-bang 100 100 .1 world0)
|
(big-bang 100 100 .1 world0)
|
||||||
|
|
||||||
(on-redraw world->image)
|
(on-redraw world->image)
|
||||||
(on-tick-event world->next)
|
(on-tick-event world->next)
|
||||||
(on-key-event world->steer)
|
(on-key-event world->steer)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user