示例#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();
 }