1
0
mirror of https://github.com/exane/not-gwent-online synced 2024-10-31 10:36:53 +00:00
not-gwent-online/server/Battleside.js

32 lines
593 B
JavaScript
Raw Normal View History

2015-06-10 16:12:52 +00:00
var Battleside = (function(){
var Battleside = function(player){
if(!(this instanceof Battleside)){
return (new Battleside(player));
}
/**
* constructor here
*/
this._player = player;
};
var r = Battleside.prototype;
/**
* methods && properties here
* r.property = null;
* r.getProperty = function() {...}
*/
r._player = null;
r._deck = null;
r._discard = null;
r._hand = null;
r._leader = null;
r._close = null;
r._range = null;
r._siege = null;
r._field = null;
return Battleside;
})();
module.exports = Battleside;