mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-05-28 23:41:31 +00:00
altered name and docstring for the function tying a world sequence to its tick-time
This commit is contained in:
parent
fdd79474d5
commit
02eb04cae0
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user