forked from External/mage
Work in progress changes for Amonket Aftermath ability.
* Card Rendering has support for Aftermath Split card frames * Card Rendering has support for Split cards * Aftermath ability work in progress
This commit is contained in:
parent
94dc4ac52c
commit
a96a7f89f5
15 changed files with 798 additions and 68 deletions
|
|
@ -115,7 +115,7 @@ public class CardPluginImpl implements CardPlugin {
|
|||
*/
|
||||
private CardPanel makePanel(CardView view, UUID gameId, boolean loadImage, ActionCallback callback, boolean isFoil, Dimension dimension) {
|
||||
String fallback = PreferencesDialog.getCachedValue(PreferencesDialog.KEY_CARD_RENDERING_FALLBACK, "false");
|
||||
if (view.isSplitCard() || fallback.equals("true")) {
|
||||
if (fallback.equals("true")) {
|
||||
return new CardPanelComponentImpl(view, gameId, loadImage, callback, isFoil, dimension);
|
||||
} else {
|
||||
return new CardPanelRenderImpl(view, gameId, loadImage, callback, isFoil, dimension);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue