package pacman2000; import java.awt.Window; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; public class GameWindowMonitor extends WindowAdapter { public GameWindowMonitor(Game game) { this.game = game; } public void windowClosing(WindowEvent e) { game.finish(); Window w = e.getWindow(); w.setVisible(false); w.dispose(); System.exit(0); } private Game game; }

wangjialiang1 LV17
2023年8月24日
yerwiu LV10
2023年8月12日
养乐多 LV3
2021年4月28日
iRichard1314 LV6
2020年9月23日
zipper LV8
2020年1月8日
小黑鱼 LV3
2019年12月18日
zhangxinwangheng LV2
2019年12月8日
mCptoucb LV1
2019年12月8日
WUJIEYANGYULING LV4
2019年11月24日
qweqweqwe321321233 LV10
2019年11月7日

微信网友_6717668269461504
2023年11月1日
暂无贡献等级
wangjialiang1 LV17
2023年8月23日
yerwiu LV10
2023年8月12日
Jane Jenny
2022年12月4日
暂无贡献等级
special__tt LV1
2022年10月27日
203698476
2021年12月22日
暂无贡献等级
windyLS
2021年12月12日
暂无贡献等级
alexcheung LV3
2021年12月10日
会吹牛皮的羊
2021年7月20日
暂无贡献等级
pipichao LV6
2021年6月20日