forked from External/mage
Refactor: removed server side objects from a client side game's data (#10788)
* Clean original values transmitted with CardView.originalObject * Move RateCard to mage.Common, support cardView as argument. * Clean PermanentView constructor for TestCardRenderDialog
This commit is contained in:
parent
ba411e0054
commit
5062c84098
17 changed files with 285 additions and 149 deletions
|
|
@ -31,8 +31,8 @@ public class AbilityView extends CardView {
|
|||
this.subTypes = new SubTypes();
|
||||
this.superTypes = new ArrayList<>();
|
||||
this.color = new ObjectColor();
|
||||
this.manaCostLeftStr = String.join("", ability.getManaCostSymbols());
|
||||
this.manaCostRightStr = "";
|
||||
this.manaCostLeftStr = ability.getManaCostSymbols();
|
||||
this.manaCostRightStr = new ArrayList<>();
|
||||
}
|
||||
|
||||
public CardView getSourceCard() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue