mirror of
https://github.com/richardharrington/robotwar.git
synced 2024-07-07 12:28:55 +00:00
added TICK_DURATION constant
This commit is contained in:
parent
5477c430d8
commit
154d3e70bc
@ -3,6 +3,10 @@
|
||||
(:require [robotwar.brain :as brain]
|
||||
[robotwar.game-lexicon :as game-lexicon]))
|
||||
|
||||
; TICK_DURATION is in seconds.
|
||||
; TODO: should be passed in from some higher level module, or a config module.
|
||||
(def TICK_DURATION 1)
|
||||
|
||||
(defn init-register
|
||||
"takes a reg-name and a robot-idx (needed to locate the register in the world),
|
||||
as well as a read-func, a write-func, and a val. The read-func and write-func
|
||||
|
Loading…
Reference in New Issue
Block a user