-
编写服务程序
Writing a Service Program
- 2022-02-25 08:17:35下载
- 积分:1
-
first part of the init () method to load the game all the necessary resources, i...
? 部分内容
首先我们在init()方法中加载所有游戏必要的资源,包括声音,鼠标事件的监听、背景等相关设置。利用addBomb()方法增加bomb的数量、初始位置及初始化颜色。再利用start()启动线程。线程调用run()方法,处理炸弹下降运动down()。Repaint()会在每一个单位时间调用paint()方法不断的刷新屏幕,paint()调用Bomb.addBomb()绘制炸弹。当游戏者按下鼠标,mousePress()事件激活,判断是否点中了炸弹。如果点中addScore()自动加1分。如果没有点中炸弹,炸弹继续下降,当撞到屏幕wasHitEarth()方法激活,其内调用death()方法,减少Denfenser.life生命点,同时audio.play()处理声音的播放,用以提示游戏者。当你的生命点数小于0时”Game Over”。-first part of the init () method to load the game all the necessary resources, including the voices of the mouse wiretapping, and other relevant background set. Use addBomb () method to increase the number of bomb, the initial location and initialization color. Reuse start () activated threads. Call threads run () method to deal with bomb dropped down Movement (). Hamas () in a unit time per call to paint () method is constantly refresh the screen, paint () call Bomb.addBomb () to draw bomb. When pressed mouse game, mousePress () activation of the incident to determine whether the point of the bomb. If the
- 2022-05-20 07:56:26下载
- 积分:1
-
it is a simple program
vc动态链接库自测代码,一个很好的例子:可以自由灵活的调用dll,学习一下哦-it is a simple program
- 2022-08-19 02:52:32下载
- 积分:1
-
完整串口通信程序(发送和接受)Vc++源代码
一个比较完整串口通信程序Vc++源代码 相信大家看后一定会有收获的!
- 2022-08-17 03:45:16下载
- 积分:1
-
GL纹理映射中的应用
GL Texture Mapping Application
- 2023-01-04 21:35:04下载
- 积分:1
-
这个等候对话框可以自由开始结束,并且等候对话框可以播放任何视频文件...
这个等候对话框可以自由开始结束,并且等候对话框可以播放任何视频文件-this dialog can be free pending the beginning of the end, and dialog can wait for the broadcast of any video files
- 2022-07-04 08:27:40下载
- 积分:1
-
"Office2000 Internal COM programming plug
《Office2000下内部COM插件的编程实现》配套代码。-"Office2000 Internal COM programming plug-in" complementary code.
- 2022-04-21 00:58:56下载
- 积分:1
-
一个最简单的键盘钩子例子
一个最简单的键盘钩子例子-one of the most simple examples keyboard hook
- 2022-07-19 16:22:40下载
- 积分:1
-
week flight from chee teacher gamma radiation detector Monitoring Program (compi...
从周航慈老师的伽马辐射检测仪监控程序(汇编)改为c的程序-week flight from chee teacher gamma radiation detector Monitoring Program (compilation) to the procedure c
- 2023-07-18 09:40:02下载
- 积分:1
-
this is a zip file contain a program for determine the settlement of shllow foun...
this is a zip file contain a program for determine the settlement of shllow foundation with excel.
- 2022-01-22 08:26:49下载
- 积分:1