Fix some bindings in level-manager.scm
This commit is contained in:
parent
47abe2da10
commit
b8185fee2c
1 changed files with 16 additions and 14 deletions
|
@ -7,6 +7,7 @@
|
|||
#:use-module (ces component sprite)
|
||||
#:use-module (ces entity)
|
||||
#:use-module (ces entity-manager)
|
||||
#:use-module (dom image)
|
||||
#:use-module (game-core)
|
||||
#:use-module (game game-objects)
|
||||
#:export ())
|
||||
|
@ -37,7 +38,8 @@
|
|||
(define (add-room-components entity background x y width height)
|
||||
(let* ((room-entity-id (game-entity-id entity))
|
||||
(entity (add-background entity room-entity-id sprite width height))
|
||||
(entity (add-bounding-box entity room-entity-id x y width height)))))
|
||||
(entity (add-bounding-box entity room-entity-id x y width height)))
|
||||
entity))
|
||||
|
||||
(define (create-room! background x y width height)
|
||||
(let* ((e-manager (get-entity-manager))
|
||||
|
|
Loading…
Reference in a new issue