mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-20 12:10:38 +08:00
Progress: Documentation
This commit is contained in:
@@ -17,7 +17,7 @@ A simple, lightweight, HTML multiplayer game server (and client) for Node.js
|
||||
```js
|
||||
var garageServer = require('garageserver.io'),
|
||||
|
||||
// Create instance of GarageServer.IO - pass in Socket.IO and GarageServer.IO options
|
||||
// Create instance of GarageServer.IO - pass in a Socket.IO instance and GarageServer.IO options
|
||||
var server = garageServer.createGarageServer(sockets,
|
||||
{
|
||||
interpolation: true,
|
||||
|
||||
Reference in New Issue
Block a user