added line to display seconds elapsed in game world (to text display)

This commit is contained in:
Richard Harrington 2013-08-14 08:16:53 -04:00
parent 36f8dcef4e
commit 1ad383a993

View File

@ -106,7 +106,8 @@
(get-in world [:robots robot-idx :desired-v-y])
)))
(println (format "Animation frame rate: %.1f frames per second", frame-rate))
(println "World-tick number:" idx)
(println "Tick number:" idx)
(println (format "Seconds elapsed in the game-world: %.1f", (* tick-duration idx)))
(let [now (time/now)]
(if (time/before? now next-tick)
(do