public void windowIconified(WindowEvent e) { atp.pauseGame(); }
public void windowDeactivated(WindowEvent e) { atp.pauseGame(); }