Fix typos. Add tiled testmap

This commit is contained in:
retropikzel 2026-05-28 10:21:51 +03:00
parent 9042939cbd
commit 7c4af946cf
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
(define-record-type <map> (define-record-type <map>
(make-map width height layers) (make-map width height layers)
map? map?
(widht map-width) (width map-width)
(height map-height) (height map-height)
(layers map-layers)) (layers map-layers))
(define (read-map port) (define (read-map port)
(json-read port) (json-read port)
)) )

View File

@ -3,7 +3,7 @@
(define mapdata (read-map (open-input-file "retropikzel/tiled/testmap.json"))) (define mapdata (read-map (open-input-file "retropikzel/tiled/testmap.json")))
;(write mapdata) (write mapdata)
;(newline) (newline)
(test-end "tiled") (test-end "tiled")