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