mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Updated zone action listener for computer's flashback area.
This commit is contained in:
@@ -376,7 +376,21 @@ public class ControlField {
|
||||
} .actionPerformed(null);
|
||||
} else {
|
||||
new ZoneAction(ControlField.this.player.getZone(Zone.Graveyard),
|
||||
NewConstants.Lang.GuiDisplay.COMPUTER_FLASHBACK).actionPerformed(null);
|
||||
NewConstants.Lang.GuiDisplay.COMPUTER_FLASHBACK) {
|
||||
|
||||
private static final long serialVersionUID = 8120331222693706164L;
|
||||
|
||||
@Override
|
||||
protected Iterable<Card> getCardsAsIterable() {
|
||||
return new ImmutableIterableFrom<Card>(CardFactoryUtil.getExternalZoneActivationCards(AllZone
|
||||
.getComputerPlayer()));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doAction(final Card c) {
|
||||
AllZone.getGameAction().playCard(c);
|
||||
}
|
||||
} .actionPerformed(null);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user