# HG changeset patch # User Steve Losh # Date 1311294242 14400 # Node ID 85f44db5ab4f78a87e273f9223d907af9a2d32cf # Parent c4629568f91a93247638166a5c159d3ab77206cc Fix more docs. diff -r c4629568f91a -r 85f44db5ab4f src/clojurecraft/data.clj --- a/src/clojurecraft/data.clj Thu Jul 21 20:16:58 2011 -0400 +++ b/src/clojurecraft/data.clj Thu Jul 21 20:24:02 2011 -0400 @@ -66,6 +66,9 @@ ; player -> (ref Entity) ; A ref to the Entity representing the bot's player in the world. ; +; This is exactly the same thing as (@(world entities) player-id), it's just here +; for convenience. +; ; world -> World ; The world the bot is connected to. ; @@ -75,8 +78,8 @@ ; Worlds themselves should never need to be updated after creation -- instead the ; various refs inside them are updated. ; -; packet-counts-in -> integer -; packet-counts-out -> integer +; packet-counts-in -> {:packet-type integer} +; packet-counts-out -> {:packet-type integer} (defrecord Bot [connection outqueue player world packet-counts-in packet-counts-out])