mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
28 lines
436 B
JavaScript
28 lines
436 B
JavaScript
var Entity = (function(){
|
|
var Entity = function(){
|
|
if(!(this instanceof Entity)){
|
|
return (new Entity());
|
|
}
|
|
/**
|
|
* constructor here
|
|
*/
|
|
|
|
|
|
};
|
|
var r = Entity.prototype;
|
|
/**
|
|
* methods && properties here
|
|
* r.property = null;
|
|
* r.getProperty = function() {...}
|
|
*/
|
|
r._battleside;
|
|
|
|
r.setBattleside = function(b) {
|
|
this._battleside = b;
|
|
}
|
|
|
|
|
|
return Entity;
|
|
})();
|
|
|
|
module.exports = Entity; |