mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed display of lands
This commit is contained in:
parent
a43bc8bed6
commit
4b4f73fea1
3 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,8 @@ public class MockCard extends CardImpl<MockCard> {
|
|||
this.subtype = card.getSubTypes();
|
||||
this.supertype = card.getSupertypes();
|
||||
|
||||
this.usesVariousArt = card.usesVariousArt();
|
||||
|
||||
this.manaCost = new ManaCostsImpl(join(card.getManaCosts()));
|
||||
|
||||
this.color = card.getColor();
|
||||
|
|
|
@ -31,6 +31,8 @@ public class MockSplitCard extends SplitCard<MockSplitCard> {
|
|||
this.subtype = card.getSubTypes();
|
||||
this.supertype = card.getSupertypes();
|
||||
|
||||
this.usesVariousArt = card.usesVariousArt();
|
||||
|
||||
this.color = card.getColor();
|
||||
this.splitCard = card.isSplitCard();
|
||||
this.flipCard = card.isFlipCard();
|
||||
|
|
|
@ -149,6 +149,10 @@ public class CardInfo {
|
|||
}
|
||||
}
|
||||
|
||||
public boolean usesVariousArt() {
|
||||
return Character.isDigit(className.charAt(className.length() - 1));
|
||||
}
|
||||
|
||||
public ObjectColor getColor() {
|
||||
ObjectColor color = new ObjectColor();
|
||||
color.setBlack(black);
|
||||
|
|
Loading…
Reference in a new issue