summaryrefslogtreecommitdiff
path: root/examples/tilemap.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2013-07-21 22:22:23 -0400
committerDavid Thompson <dthompson2@worcester.edu>2013-07-21 22:22:23 -0400
commit3ae0550bc73ab825a65d98eeda1c2d2431c4ecfb (patch)
tree3bc4efe58f617c5f36d598579722a32e03ad6eab /examples/tilemap.scm
parent1690105218d8ec77abc31bcbecfc6794a9be0a14 (diff)
Update examples to reflect changes in keyboard events.
Diffstat (limited to 'examples/tilemap.scm')
-rw-r--r--examples/tilemap.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/tilemap.scm b/examples/tilemap.scm
index 49106b0..cbe6e86 100644
--- a/examples/tilemap.scm
+++ b/examples/tilemap.scm
@@ -2,12 +2,10 @@
(srfi srfi-1)
(srfi srfi-9)
(srfi srfi-42)
- (ice-9 format)
(2d sprite)
(2d game-loop)
(2d window)
(2d vector)
- (2d input)
(2d helpers))
(init-2d)
@@ -77,7 +75,7 @@
(list->array 2 sprites)))
(define (key-down key mod unicode)
- (cond ((any-equal? key (keycode escape) (keycode q))
+ (cond ((any-equal? key 'escape 'q)
(close-window)
(quit))))