85f44db5ab4f

Fix more docs.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 21 Jul 2011 20:24:02 -0400
parents c4629568f91a
children ec310473df43
branches/tags (none)
files src/clojurecraft/data.clj

Changes

--- 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])