From 3c6129cde963140706c3b67a3e0cf9abc62a00ce Mon Sep 17 00:00:00 2001 From: Jeremiah Billmann Date: Mon, 29 Jul 2013 13:11:37 -0400 Subject: [PATCH] Progress: Documentation --- README.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7a5b383..2daa93b 100644 --- a/README.md +++ b/README.md @@ -120,21 +120,18 @@ Configure the different options, events, callbacks that you would like to consum ```js options.onPlayerConnect(callback) ``` -Once the client has made a connection to the server, this event will fire. -**callback** -Type: function +Once the client has made a connection to the server, this event will fire. +`callback` function ```js options.onPlayerDisconnect(callback) ``` -If client has has disconnected from the server, this event will fire. -**callback** -Type: function +If client has has disconnected from the server, this event will fire. +`callback` function ```js options.onPlayerReconnect(callback) ``` -If client has has disconnects and reconnects to the server, this event will fire. -**callback** -Type: function +If client has has disconnects and reconnects to the server, this event will fire. +`callback` function ```js options.onPlayerUpdate(callback(state)) ```