forked from External/mage
* Guilds of Ravnica (GRN), Commander Anthology Volume II (CM2), Battlebond (BBD); * From the Vault: Transform (V17), Media Inserts (MBP), WPN and Gateway Promos (GRC);
46 lines
1.2 KiB
Java
46 lines
1.2 KiB
Java
package mage.cards;
|
|
|
|
import mage.constants.Rarity;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public final class CardSetInfo implements Serializable {
|
|
|
|
private final String name;
|
|
private final String cardNumber;
|
|
private final String expansionSetCode;
|
|
private final Rarity rarity;
|
|
private final CardGraphicInfo graphicInfo;
|
|
|
|
public CardSetInfo(String name, String expansionSetCode, String cardNumber, Rarity rarity) {
|
|
this(name, expansionSetCode, cardNumber, rarity, null);
|
|
}
|
|
|
|
public CardSetInfo(String name, String expansionSetCode, String cardNumber, Rarity rarity, CardGraphicInfo graphicInfo) {
|
|
this.name = name;
|
|
this.expansionSetCode = expansionSetCode;
|
|
this.cardNumber = cardNumber;
|
|
this.rarity = rarity;
|
|
this.graphicInfo = graphicInfo;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public String getExpansionSetCode() {
|
|
return this.expansionSetCode;
|
|
}
|
|
|
|
public String getCardNumber() {
|
|
return this.cardNumber;
|
|
}
|
|
|
|
public Rarity getRarity() {
|
|
return this.rarity;
|
|
}
|
|
|
|
public CardGraphicInfo getGraphicInfo() {
|
|
return this.graphicInfo;
|
|
}
|
|
}
|