Mercurial > vba-clojure
diff clojure/com/aurellem/gb/gb_driver.clj @ 326:8484e6f6db2c
saving progress before trip to Liberal.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 04 Apr 2012 14:55:43 -0500 |
parents | d263df762c59 |
children | 09b3bc0b71b5 |
line wrap: on
line diff
1.1 --- a/clojure/com/aurellem/gb/gb_driver.clj Wed Apr 04 03:25:14 2012 -0500 1.2 +++ b/clojure/com/aurellem/gb/gb_driver.clj Wed Apr 04 14:55:43 2012 -0500 1.3 @@ -142,7 +142,7 @@ 1.4 ([] 1.5 (continue! @current-state))) 1.6 1.7 -(defn run-moves [moves state] 1.8 +(defn run-moves [state moves] 1.9 (set-state! state) 1.10 (dorun (map #(Gb/step (button-mask %)) 1.11 moves))