Files
GarageServer.IO/client/garageserver.io.js
T
2013-05-21 20:07:05 -04:00

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);