From 0e7f61a8caf1021bf6b2f627fafad6fc4921871f Mon Sep 17 00:00:00 2001 From: Jeremiah Billmann Date: Wed, 31 Jul 2013 19:04:34 -0400 Subject: [PATCH] Progress: Documentation --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 66a0f45..1da5bc1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ var server = garageServer.createGarageServer(sockets, ```js server.start(); ``` -**3.** Inside physics loop, process inputs for players, process entites and update states. Note that state is an object literal effectively offering up any grab bag of properties that are specific to your game's state. +**3.** Inside physics loop, process inputs for players, process entites and update their states. Note that state is an object literal effectively offering up any grab bag of properties that are specific to your game's state. ```js var players = server.getPlayers(), entities = server.getEntities(); @@ -103,9 +103,9 @@ var playerStates = GarageServerIO.getPlayerStates(), }); ``` -## API +## GarageServer.IO API -### Client +### GarageServer.IO Client #### initializeGarageServer --- @@ -325,7 +325,7 @@ GarageServerIO.sendServerEvent(data) Send a custom event to the server. Use this to make custom calls to GarageServer.IO for your game. `data` **object literal** Object containing all properties specific to the custom event. -### Server +### GarageServer.IO Server #### createGarageServer ---