forked from External/mage
Added frameStyle Characteristic for cards
* Added FrameStyle Enum containing a list of styles that cards can be rendered in. * Added getFrameStyle() getter to Card interface. * Implemented getFrameStyle() for various concrete implementations of Card.
This commit is contained in:
parent
0ea9d33211
commit
b549dfe0dc
12 changed files with 115 additions and 3 deletions
58
Mage/src/main/java/mage/cards/FrameStyle.java
Normal file
58
Mage/src/main/java/mage/cards/FrameStyle.java
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package mage.cards;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author StravantUser
|
||||
*/
|
||||
public enum FrameStyle {
|
||||
/**
|
||||
* The default card frame, normal M15 card frames
|
||||
*/
|
||||
M15_NORMAL(BorderType.M15, false),
|
||||
|
||||
/**
|
||||
* Battle for Zendkiar full art basic lands
|
||||
*/
|
||||
BFZ_FULL_ART_BASIC(BorderType.M15, true);
|
||||
|
||||
/**
|
||||
* General type of card
|
||||
*/
|
||||
public enum BorderType {
|
||||
/**
|
||||
* Old border cards
|
||||
*/
|
||||
OLD,
|
||||
|
||||
/**
|
||||
* Modern border cards (8th -> Theros)
|
||||
*/
|
||||
MOD,
|
||||
|
||||
/**
|
||||
* M15 border cards (M14 -> current)
|
||||
*/
|
||||
M15
|
||||
}
|
||||
|
||||
private BorderType borderType;
|
||||
private boolean isFullArt;
|
||||
|
||||
public BorderType getBorderType() {
|
||||
return borderType;
|
||||
}
|
||||
|
||||
public boolean isFullArt() {
|
||||
return isFullArt;
|
||||
}
|
||||
|
||||
FrameStyle(BorderType borderType, boolean isFullArt) {
|
||||
this.borderType = borderType;
|
||||
this.isFullArt = isFullArt;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue