add new GUI interface allowing cards to be moved around in a list and use for arrangeForScry if preference UI_SELECT_FROM_CARD_DISPLAYS is set

This commit is contained in:
Peter F. Patel-Schneider
2019-01-09 21:13:09 -05:00
parent 69502dd97b
commit 09fc3ae60c
12 changed files with 443 additions and 41 deletions

View File

@@ -29,6 +29,7 @@ import forge.deck.CardPool;
import forge.deck.FSideboardDialog;
import forge.game.GameEntityView;
import forge.game.GameView;
import forge.game.card.Card;
import forge.game.card.CardView;
import forge.game.phase.PhaseType;
import forge.game.player.DelayedReveal;
@@ -520,6 +521,11 @@ public class MatchController extends AbstractGuiGame {
return SGuiChoose.order(title, "Selected", min, max, (List<GameEntityView>) optionList, null);
}
@Override
public List<Card> manipulateCardList(final String title, final List<Card> cards, final List<Card> manipulable, final boolean toTop, final boolean toBottom, final boolean toAnywhere) {
return null; // pfps not implemented yet
}
@Override
public void setCard(final CardView card) {
// doesn't need to do anything