mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-13 00:50:08 +08:00
27 lines
578 B
JavaScript
27 lines
578 B
JavaScript
window.GarageServerIO = (function (window, socketio) {
|
|
|
|
var io = socketio,
|
|
|
|
garageServerGame = null,
|
|
|
|
connectToGarageServer = function (path, options) {
|
|
io.connect(path + '/garageserver.io');
|
|
},
|
|
|
|
startGarageServerGame = function (options) {
|
|
garageServerGame = new GarageServerGame(options);
|
|
};
|
|
|
|
function GarageServerGame (options) {
|
|
|
|
}
|
|
|
|
GarageServerGame.prototype.update = function () {
|
|
|
|
};
|
|
|
|
return {
|
|
connectToGarageServer: connectToGarageServer
|
|
};
|
|
|
|
}) (window, io); |