mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Added audio waning 1 minute before timeout for constructing or sideboarding deck.
This commit is contained in:
parent
c9d00a919d
commit
999528e633
1 changed files with 4 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ import mage.client.dialog.AddLandDialog;
|
|||
import mage.client.plugins.impl.Plugins;
|
||||
import mage.client.util.Event;
|
||||
import mage.client.util.Listener;
|
||||
import mage.client.util.audio.AudioManager;
|
||||
import mage.components.CardInfoPane;
|
||||
import mage.game.GameException;
|
||||
import mage.remote.Session;
|
||||
|
|
@ -481,6 +482,9 @@ public class DeckEditorPanel extends javax.swing.JPanel {
|
|||
text = text + Integer.toString(second);
|
||||
}
|
||||
this.txtTimeRemaining.setText(text);
|
||||
if (s==60) {
|
||||
AudioManager.playOnCountdown1();
|
||||
}
|
||||
}
|
||||
|
||||
private void initComponents() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue