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
|
|
@ -39,6 +39,7 @@ import mage.abilities.common.CastCommanderAbility;
|
|||
import mage.abilities.costs.mana.ManaCost;
|
||||
import mage.abilities.costs.mana.ManaCosts;
|
||||
import mage.cards.Card;
|
||||
import mage.cards.FrameStyle;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.Game;
|
||||
import mage.util.GameLog;
|
||||
|
|
@ -150,6 +151,11 @@ public class Commander implements CommandObject {
|
|||
return card.getFrameColor(game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FrameStyle getFrameStyle() {
|
||||
return card.getFrameStyle();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ManaCosts<ManaCost> getManaCost() {
|
||||
return card.getManaCost();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue