-
可以进行浮点数的四则运算,稍微修改一下就可以做一个简单的计算机器了...
可以进行浮点数的四则运算,稍微修改一下就可以做一个简单的计算机器了-can float for the four operations, a slight change it can be done on a simple computer for the
- 2023-01-14 21:05:03下载
- 积分:1
-
一个vb数组操作函数的类库
一个vb数组操作函数的类库-an array manipulation functions of the library
- 2022-02-24 10:14:35下载
- 积分:1
-
堆排序的free pascal实现代码及其复杂度分析
堆排序的free pascal实现代码及其复杂度分析-heap_sort
- 2022-08-25 13:16:52下载
- 积分:1
-
专业开发
专业开发-多线程的优先级例子2-professional development-multithreaded priority Example 2
- 2023-08-24 17:20:04下载
- 积分: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
-
文本编辑,实现了汉字英语的显示,以及字符的滚动与闪烁效果....
文本编辑,实现了汉字英语的显示,以及字符的滚动与闪烁效果.-Text editor, realize a display of Chinese characters in English, as well as the characters in the rolling and blinking effect.
- 2022-01-26 00:46:35下载
- 积分:1
-
This procedure is used to prepare three
本程序是用fortran言语编写的三维SIMPLE算法程序,针对不可压、无粘流体。-This procedure is used to prepare three-dimensional fortran language SIMPLE algorithm procedures, for incompressible, inviscid fluid.
- 2022-03-15 17:15:16下载
- 积分:1
-
用c语言编写的产生正态随机数的源代码:
算法一产生12个(0,1)平均分布的随机函数,用大数定理可以模拟出正态分布。
算法二用到了数学中的雅可比变...
用c语言编写的产生正态随机数的源代码:
算法一产生12个(0,1)平均分布的随机函数,用大数定理可以模拟出正态分布。
算法二用到了数学中的雅可比变换,直接生成正态分布,但此算法在计算很大规模的数时
会出现溢出错误。-With the c language normal random number generation source code: Algorithm 1 produces 12 (0,1) the average distribution of the random function, with large numbers theorem can be simulated normal distribution. Mathematical algorithms used in the two Jacobi transformation, directly generate a normal distribution, but this algorithm is very large in the calculation occurs when the number of overflow error.
- 2023-07-12 06:00:04下载
- 积分:1
-
插件式开发例子
c#插件式开发例子
c#插件式开发例子
c#插件式开发例子
c#插件式开发例子
c#插件式开发例子
c#插件式开发例子
- 2022-03-25 22:56:53下载
- 积分:1
-
带音乐播放功能的自动关机程序。可以按时间及时长选择关机,可最小化为幽灵图标...
带音乐播放功能的自动关机程序。可以按时间及时长选择关机,可最小化为幽灵图标-music playback functions with the automatic shutdown procedures. Can be a long time to choose a timely shutdown, the smallest icon into ghost
- 2022-07-01 22:48:09下载
- 积分:1