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:
Mark Langen 2017-04-03 04:15:25 -06:00
parent 94dc4ac52c
commit a96a7f89f5
15 changed files with 798 additions and 68 deletions

View file

@ -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);