1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-11-05 00:58:26 +00:00

realign strength display

This commit is contained in:
exane
2015-06-30 12:34:57 +02:00
parent 2f605767ec
commit 4863e0e634
4 changed files with 26 additions and 17 deletions

View File

@@ -62,6 +62,7 @@ var Battle = (function(){
this.p2.draw(10);
this.update();

View File

@@ -10,6 +10,7 @@ var CardManager = (function(){
*/
this._id = 0;
this._cards = {};
};
var r = CardManager.prototype;
/**
@@ -19,6 +20,7 @@ var CardManager = (function(){
*/
r._id = null;
r._cards = null;
r.create = function(key, owner) {
return this._cards[this._id] = Card(key, owner, this._id++);