Progress: Client loop

This commit is contained in:
Jeremiah Billmann
2013-05-22 22:27:36 -04:00
parent c009deb540
commit 18cef256e1
+10
View File
@@ -6,6 +6,16 @@ window.GarageServerIO = (function (window, socketio) {
connectToGarageServer = function (path, options) {
io.connect(path + '/garageserver.io');
registerSocketEvents();
},
registerSocketEvents = function () {
io.on('update', function(data) {
});
io.on('ping', function(data) {
});
},
startGarageServerGame = function (options) {