forked from External/mage
* Fixed handling of face down card selection (e.g. for Scroll Rack).
This commit is contained in:
parent
ef1a487dd5
commit
662ee7ca10
6 changed files with 142 additions and 102 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue