mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-05-28 23:41:31 +00:00
fixed typo in animate
This commit is contained in:
parent
257b6a2495
commit
02f9659df7
|
@ -46,7 +46,7 @@
|
|||
(println (apply format
|
||||
"%d: x %.1f, y %.1f, v-x %.1f, v-y %.1f, desired-v-x %.1f, desired-v-y %.1f"
|
||||
(map #(get-in world [:robots robot-idx %])
|
||||
[:idx :pox-x :pox-y :v-x :v-y :desired-v-x :desired-v-y])))))
|
||||
[:idx :pos-x :pos-y :v-x :v-y :desired-v-x :desired-v-y])))))
|
||||
|
||||
(defn animate
|
||||
"takes a simulation and animates it."
|
||||
|
|
Loading…
Reference in New Issue
Block a user