diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-07-28 19:38:12 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-07-28 19:38:12 -0400 |
commit | 60f10e08308a6a8df543268db59f580ddc27c743 (patch) | |
tree | 3202ed51a2be4d832727fab1e51fab3cda4bd538 /examples/tilemap.scm | |
parent | db8d684650365a2e39e6607edcdb167fdf9f81b7 (diff) |
Update examples.
Diffstat (limited to 'examples/tilemap.scm')
-rw-r--r-- | examples/tilemap.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tilemap.scm b/examples/tilemap.scm index 72a1326..1f19eb3 100644 --- a/examples/tilemap.scm +++ b/examples/tilemap.scm @@ -85,8 +85,8 @@ (define window-width 800) (define window-height 600) -(set-key-down-callback (lambda (key mod unicode) (key-down key mod unicode))) -(set-render-callback (lambda () (render))) +(add-hook! on-key-down-hook (lambda (key mod unicode) (key-down key mod unicode))) +(add-hook! on-render-hook (lambda () (render))) (open-window window-width window-height) ;; Load tileset and build map layer |