mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 11:02:00 -08:00
Removed getArt and everything related to it.
This commit is contained in:
parent
84b79000ff
commit
569191a55a
540 changed files with 158 additions and 2858 deletions
|
|
@ -58,7 +58,6 @@ public class AbilityView extends CardView {
|
|||
this.superTypes = new ArrayList<String>();
|
||||
this.color = new ObjectColor();
|
||||
this.manaCost = ability.getManaCosts().getSymbols();
|
||||
this.art = "";
|
||||
}
|
||||
|
||||
public CardView getSourceCard() {
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ import mage.Constants.CardType;
|
|||
import mage.Constants.Rarity;
|
||||
import mage.cards.Card;
|
||||
import mage.counters.CounterType;
|
||||
import mage.counters.Counters;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.game.permanent.PermanentToken;
|
||||
import mage.game.permanent.token.Token;
|
||||
|
|
@ -66,7 +65,6 @@ public class CardView implements Serializable {
|
|||
protected ObjectColor color;
|
||||
protected List<String> manaCost;
|
||||
protected int convertedManaCost;
|
||||
protected String art;
|
||||
protected Rarity rarity;
|
||||
protected String expansionSetCode;
|
||||
protected int cardNumber;
|
||||
|
|
@ -95,12 +93,10 @@ public class CardView implements Serializable {
|
|||
this.manaCost = card.getManaCost().getSymbols();
|
||||
this.convertedManaCost = card.getManaCost().convertedManaCost();
|
||||
if (card instanceof PermanentToken) {
|
||||
this.art = "";
|
||||
this.rarity = Rarity.NA;
|
||||
this.expansionSetCode = "";
|
||||
}
|
||||
else {
|
||||
this.art = card.getArt();
|
||||
this.rarity = card.getRarity();
|
||||
this.expansionSetCode = card.getExpansionSetCode();
|
||||
}
|
||||
|
|
@ -130,7 +126,6 @@ public class CardView implements Serializable {
|
|||
this.superTypes = token.getSupertype();
|
||||
this.color = token.getColor();
|
||||
this.manaCost = token.getManaCost().getSymbols();
|
||||
this.art = "";
|
||||
this.rarity = Rarity.NA;
|
||||
this.expansionSetCode = "";
|
||||
}
|
||||
|
|
@ -216,10 +211,6 @@ public class CardView implements Serializable {
|
|||
return convertedManaCost;
|
||||
}
|
||||
|
||||
public String getArt() {
|
||||
return art;
|
||||
}
|
||||
|
||||
public Rarity getRarity() {
|
||||
return rarity;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -57,7 +57,6 @@ public class StackAbilityView extends CardView {
|
|||
this.superTypes = ability.getSupertype();
|
||||
this.color = ability.getColor();
|
||||
this.manaCost = ability.getManaCost().getSymbols();
|
||||
this.art = "";
|
||||
setTargets(ability.getTargets());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue