예제 #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();
 }