i was thinking that each stat would be an agent.
whatever boats your float, i guess. i'm probably not the person to go
to about idiomatic code. :V

user> (let [player {:str (agent 5)
              :dex (agent 5)}
      str (:str player)
      dex (:dex player)]
  (println @str @dex)
  (send str + 1)
  (send dex * 2)
  (println @str @dex)
  (await str dex)
  (println @str @dex))
5 5
5 5
6 10
nil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to