altered name and docstring for the function tying a world sequence to its tick-time

This commit is contained in:
Richard Harrington 2013-08-12 17:44:46 -04:00
parent fdd79474d5
commit 02eb04cae0

View File

@ -37,8 +37,9 @@
[world tick-duration]
(iterate #(tick-world % tick-duration) world))
(defn world-seq
"returns a world-sequence. keeps the tick-duration field
(defn worlds-with-timer
"returns a map containing a world-sequence and a tick-duration.
keeps the tick-duration field
as a key instead of just passing it to iterate-worlds and forgetting it,
because it's needed later for rendering."
[world tick-duration]