forked from External/mage
Redesigned handling of various art for cards.
This commit is contained in:
parent
96738632d1
commit
4b2e6a8bc0
15 changed files with 82 additions and 49 deletions
|
|
@ -40,14 +40,14 @@ public class SimpleCardView implements Serializable {
|
|||
protected String expansionSetCode;
|
||||
protected int cardNumber;
|
||||
protected boolean faceDown;
|
||||
protected boolean useCardNumber; // for building the image name (different images for the same card)
|
||||
protected boolean usesVariousArt;
|
||||
|
||||
public SimpleCardView(UUID id, String expansionSetCode, int cardNumber, boolean faceDown, boolean useCardNumber) {
|
||||
public SimpleCardView(UUID id, String expansionSetCode, int cardNumber, boolean faceDown, boolean usesVariousArt) {
|
||||
this.id = id;
|
||||
this.expansionSetCode = expansionSetCode;
|
||||
this.cardNumber = cardNumber;
|
||||
this.faceDown = faceDown;
|
||||
this.useCardNumber = useCardNumber;
|
||||
this.usesVariousArt = usesVariousArt;
|
||||
}
|
||||
|
||||
public UUID getId() {
|
||||
|
|
@ -66,7 +66,7 @@ public class SimpleCardView implements Serializable {
|
|||
return faceDown;
|
||||
}
|
||||
|
||||
public boolean useCardNumber() {
|
||||
return useCardNumber;
|
||||
public boolean getUsesVariousArt() {
|
||||
return usesVariousArt;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue