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