mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Graveyard dialog auto close on pay message. Usefull for flashback cards.
This commit is contained in:
parent
5c1a2f7a43
commit
964aaf23ab
1 changed files with 3 additions and 0 deletions
|
@ -597,11 +597,13 @@ public class GamePanel extends javax.swing.JPanel {
|
||||||
|
|
||||||
public void playMana(String message, GameView gameView) {
|
public void playMana(String message, GameView gameView) {
|
||||||
updateGame(gameView);
|
updateGame(gameView);
|
||||||
|
DialogManager.getManager().fadeOut();
|
||||||
this.feedbackPanel.getFeedback(FeedbackMode.CANCEL, message, gameView.getSpecial(), null);
|
this.feedbackPanel.getFeedback(FeedbackMode.CANCEL, message, gameView.getSpecial(), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void playXMana(String message, GameView gameView) {
|
public void playXMana(String message, GameView gameView) {
|
||||||
updateGame(gameView);
|
updateGame(gameView);
|
||||||
|
DialogManager.getManager().fadeOut();
|
||||||
this.feedbackPanel.getFeedback(FeedbackMode.CONFIRM, message, gameView.getSpecial(), null);
|
this.feedbackPanel.getFeedback(FeedbackMode.CONFIRM, message, gameView.getSpecial(), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -610,6 +612,7 @@ public class GamePanel extends javax.swing.JPanel {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void pickAbility(AbilityPickerView choices) {
|
public void pickAbility(AbilityPickerView choices) {
|
||||||
|
DialogManager.getManager().fadeOut();
|
||||||
this.abilityPicker.show(choices, MageFrame.getDesktop().getMousePosition());
|
this.abilityPicker.show(choices, MageFrame.getDesktop().getMousePosition());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue