Removed getArt and everything related to it.

This commit is contained in:
North 2011-05-30 00:07:02 +03:00
parent 84b79000ff
commit 569191a55a
540 changed files with 158 additions and 2858 deletions

View file

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

View file

@ -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;
}

View file

@ -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());
}