forked from External/mage
Change supertype method in constructors (#10361)
* replace addSuperType with supertype.add in card constructors * more supertype replacements * update MDFC supertype implementation * remove unnecessary class * update test
This commit is contained in:
parent
4cc9329b15
commit
a850e3660b
2452 changed files with 2651 additions and 2731 deletions
|
|
@ -13,6 +13,10 @@ public final class CardSetInfo implements Serializable, Copyable<CardSetInfo> {
|
|||
private final Rarity rarity;
|
||||
private final CardGraphicInfo graphicInfo;
|
||||
|
||||
public CardSetInfo(String name, CardSetInfo cardSetInfo) {
|
||||
this(name, cardSetInfo.expansionSetCode, cardSetInfo.cardNumber, cardSetInfo.rarity, cardSetInfo.graphicInfo);
|
||||
}
|
||||
|
||||
public CardSetInfo(String name, String expansionSetCode, String cardNumber, Rarity rarity) {
|
||||
this(name, expansionSetCode, cardNumber, rarity, null);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue