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

This commit is contained in:
Oleg Agafonov 2021-02-12 22:12:18 +04:00
parent c1dea5b21e
commit 10e557b873
25 changed files with 164 additions and 113 deletions

View file

@ -1,9 +1,6 @@
package mage.game.stack;
import mage.MageIdentifier;
import mage.MageInt;
import mage.MageObject;
import mage.ObjectColor;
import mage.*;
import mage.abilities.*;
import mage.abilities.costs.Cost;
import mage.abilities.costs.CostAdjuster;
@ -222,6 +219,11 @@ public class StackAbility extends StackObjImpl implements Ability {
return emptyCost;
}
@Override
public List<String> getManaCostSymbols() {
return super.getManaCostSymbols();
}
@Override
public MageInt getPower() {
return MageInt.EmptyMageInt;