Exemple #1
0
 public void windowClosing(WindowEvent e) {
   atp.stopGame();
   midisLoader.close(); // not really required
 }
Exemple #2
0
 public void windowIconified(WindowEvent e) {
   atp.pauseGame();
 }
Exemple #3
0
 public void windowDeactivated(WindowEvent e) {
   atp.pauseGame();
 }
Exemple #4
0
 public void windowDeiconified(WindowEvent e) {
   atp.resumeGame();
 }
Exemple #5
0
 public void windowActivated(WindowEvent e) {
   atp.resumeGame();
 }