Add xor and level 4
This commit is contained in:
parent
dc05a9cd05
commit
a49808d70d
7 changed files with 93 additions and 3 deletions
|
@ -46,6 +46,7 @@
|
|||
(12 (let ((target-x (bytevector-u8-ref objects (+ i 3)))
|
||||
(target-y (bytevector-u8-ref objects (+ i 4))))
|
||||
(spawn ^electric-switch x y target-x target-y)))
|
||||
(13 (spawn ^xor-gate x y))
|
||||
(id (error "invalid level object" id))))
|
||||
(i* (+ i (match id
|
||||
;; floor-switch or electric-switch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue