forked from External/mage
* Performance: memory usage optimization for deck editor (removed bloated usage of ManaCosts -> ManaColor objects, see #7515);
This commit is contained in:
parent
c3d55ea12a
commit
275e996c08
23 changed files with 170 additions and 143 deletions
|
|
@ -31,8 +31,8 @@ public class AbilityView extends CardView {
|
|||
this.subTypes = new SubTypes();
|
||||
this.superTypes = EnumSet.noneOf(SuperType.class);
|
||||
this.color = new ObjectColor();
|
||||
this.manaCostLeft = ability.getManaCosts().getSymbols();
|
||||
this.manaCostRight = new ArrayList<>();
|
||||
this.manaCostLeftStr = String.join("", ability.getManaCosts().getSymbols());
|
||||
this.manaCostRightStr = "";
|
||||
}
|
||||
|
||||
public CardView getSourceCard() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue