From 338ef8919d07ea336fca1d7c5edafa48cfd0ee92 Mon Sep 17 00:00:00 2001 From: Jeremiah Billmann Date: Tue, 30 Jul 2013 19:31:23 -0400 Subject: [PATCH] Progress: Documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f17070..9ff624a 100644 --- a/README.md +++ b/README.md @@ -276,7 +276,7 @@ This will enabling console logging of all the events occuring within the GarageS ```js GarageServerIO.addInput(input) ``` -Use this method to notify the server of client inputs. These will be used to determine state from the physics processing. +Notify the server of client inputs. These will be used to determine state from the physics processing. `input` **object literal** This can be anything as it pertains to your game - 1, 'left', 'right', etc., whatever you want to make it. #### getPlayerStates @@ -318,7 +318,7 @@ Id of the client's player. ```js GarageServerIO.sendServerEvent(data) ``` -Send a custom event to the server. +Send a custom event to the server. `data` **object literal** Object containing all properties pertaining to the custom event. ### Server