Progress: Documentation

This commit is contained in:
Jeremiah Billmann
2013-07-26 09:54:50 -04:00
parent e506aef5f6
commit 31271daf04
3 changed files with 30 additions and 6 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ api methods
createGarageServer(io, options)
start()
stop()
getPlayers() : [{ id, state, [input1, input2,...], [{ state1, executionTime1 }, { state2, executionTime2 }, ...] }]
getEntities() : [{ id, state, [{ state1, executionTime1 }, { state2, executionTime2 }, ...] }]
getPlayers() : [,{ id, state, [,inputs], [,{ states, executionTimes }] }]
getEntities() :[,{ id, state, [,{ state, executionTime }] }]
updatePlayerState(id, state)
updateEntityState(id, state)
addEntity(id)