chuck.js/app/Bootstrap/Client.js
2012-07-28 13:38:31 +02:00

15 lines
No EOL
304 B
JavaScript
Executable file

define([
"Game/Client/Networker",
"Lib/Vendor/SocketIO"
],
function (Networker, SocketIO) {
function Client(location, options) {
this.socket = SocketIO.connect(location, options);
this.networker = new Networker(this.socket);
}
return Client;
});