java编写的扫雷小程序审批稿.docxVIP

  • 3
  • 0
  • 约6.18千字
  • 约 10页
  • 2021-03-26 发布于广东
  • 举报
YKK standardization office【 YKK5AB- YKK08- YKK2C- YKK18】 YKK standardization office【 YKK5AB- YKK08- YKK2C- YKK18】 Java编写的扫雷小程序 整个程序使用了4个类: Game 用于启动程序, 界面的布置,各种行列的算法。 ExtendButton 继承了Jbutton 用于新建button的各种属性 ShowNum 监听到某个button后,计算出此button周围有几个雷,不同的雷对应不通的图片,类得到button上应加载的图片地址 ViewReSet 此类用于新建一个窗口,用户输入自己想要的行、列、雷数,然后用新的行列雷数new一个新的Game biaose dise1 dise2 dise3 dise4 dise5 dise6 dise7 dise8 dise lei biaoji /**************************************************************** 运行类 创建游戏主窗体 */ package class Game ex

文档评论(0)

1亿VIP精品文档

相关文档