mirror of
https://gitlab.com/eql/EQL5.git
synced 2026-01-10 11:11:34 -08:00
tiny revision of QML "sokoban"
This commit is contained in:
parent
ff0a20d421
commit
ab935d300b
1 changed files with 4 additions and 1 deletions
|
|
@ -172,7 +172,10 @@
|
|||
(x:do-string (curr-char row)
|
||||
(when (char= char curr-char)
|
||||
(let ((item (first items)))
|
||||
(if (and reset (find type '(:object :player)))
|
||||
(if (and reset
|
||||
(find type '(:object :player))
|
||||
(or (/= (|x| item) x)
|
||||
(/= (|y| item) y)))
|
||||
(progn
|
||||
(qsleep 0.05)
|
||||
(qml-set item "x" x) ; animate "reset"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue