chuck.js/app/Bootstrap/Client.js

15 lines
No EOL
273 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;
});