adapted bootstrapping

This commit is contained in:
logsol 2012-07-22 01:34:18 +02:00
parent ec84e8d025
commit 36c0e34dc5
5 changed files with 28 additions and 15 deletions

15
client.js Executable file
View file

@ -0,0 +1,15 @@
define([
"Game/Client/Networker",
"Lib/Vendor/SocketIO"
],
function(Networker, SocketIO) {
function Client(location) {
this.socket = SocketIO.connect(location);
this.networker = new Networker(socket);
}
return Client;
});