* Performance: memory usage optimization for deck editor (removed bloated usage of ManaCosts -> ManaColor objects, see #7515);

This commit is contained in:
Oleg Agafonov 2021-02-12 14:08:17 +04:00
parent c3d55ea12a
commit 275e996c08
23 changed files with 170 additions and 143 deletions

View file

@ -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() {