Graveyard dialog auto close on pay message. Usefull for flashback cards.

This commit is contained in:
magenoxx 2012-08-03 19:44:48 +04:00
parent 5c1a2f7a43
commit 964aaf23ab

View file

@ -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());
} }