mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
15 lines
No EOL
255 B
JavaScript
Executable file
15 lines
No EOL
255 B
JavaScript
Executable file
define([
|
|
"Game/Client/Networker",
|
|
"Lib/Vendor/SocketIO"
|
|
],
|
|
|
|
function(Networker, SocketIO) {
|
|
|
|
function Client(location) {
|
|
this.socket = SocketIO.connect(location);
|
|
this.networker = new Networker(this.socket);
|
|
}
|
|
|
|
return Client;
|
|
|
|
}); |