* Fixed handling of face down card selection (e.g. for Scroll Rack).

This commit is contained in:
LevelX2 2015-08-05 17:45:45 +02:00
parent ef1a487dd5
commit 662ee7ca10
6 changed files with 142 additions and 102 deletions

View file

@ -72,6 +72,12 @@ public class CardsView extends LinkedHashMap<UUID, CardView> {
}
}
public CardsView(Game game, Collection<? extends Card> cards, boolean showFaceDown) {
for (Card card : cards) {
this.put(card.getId(), new CardView(card, game, false, showFaceDown));
}
}
public CardsView(Collection<? extends Ability> abilities, Game game) {
for (Ability ability : abilities) {
MageObject sourceObject = null;