1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-11-23 19:36:53 +00:00

leftovers

This commit is contained in:
exane 2015-06-18 20:52:58 +02:00
parent 22ef4c37e1
commit ccc82829e9

View File

@ -1,3 +1,4 @@
/*
var app = require('http').createServer();
global.io = require("socket.io")(app);
var User = require("./User");
@ -12,31 +13,39 @@ var Socket = (function(){
if(!(this instanceof Socket)){
return (new Socket());
}
/**
* constructor here
*/
this.connections = Connections();
/*
this.matchmaker = Matchmaker(this.connections);
*/
/**
* constructor here
*//*
this.connections = Connections();
*/
/*
this.matchmaker = Matchmaker(this.connections);
*//*
this.roomCollection = {};
app.listen(this.port);
this.io = io;
this._events();
};
var r = Socket.prototype;
/**
*/
/**
* methods && properties here
* r.property = null;
* r.getProperty = function() {...}
*/
*//*
r.io = null;
r.port = 16918;
r.connections = null;
r.roomCollection = null;
/*
r.matchmaker = null;
*/
/*
r.matchmaker = null;
*//*
r._events = function(){
var self = this;
@ -93,4 +102,4 @@ var Socket = (function(){
return Socket;
})();
module.exports = Socket;
module.exports = Socket;*/