-
C++开发的推箱子游戏
1.类的划分
Cdraw类
绘画加载地图(包括围墙、人、箱子等等)
Cman类
是否完成(过关)
即时更新...
C++开发的推箱子游戏
1.类的划分
Cdraw类
绘画加载地图(包括围墙、人、箱子等等)
Cman类
是否完成(过关)
即时更新地图
2.设计思想
从文件map.txt里读取地图信息,然后通过Cdraw类加载地图,通过keydown事件调用Cman里的重载函数updatemap,
单参数updateMap(UINT nChar)是用于更改当前小人以及箱子的坐标,记录下来后传给updateMap(int x1, int y1, int x2, int y2, int x3, int y3)
从而改变地图。-C development Tuixiangzi a game. Class division Cdraw painting category loaded maps (including the wall, boxes, etc.) if the class completed Cman (clearance) updated maps 2. Design ideas from the paper map.txt Lane read map information, then pass Cdraw Class Loading maps, Calling the incident through keydown Cman Lane updatemap of overloading functions, updateMap single parameter (UINT nChar) is used to change the current villains and the coordinates of the boxes, After record pass updateMap (int x1, y1 int, int x2, int y2, x3 int, int y3), thus changing map.
- 2022-01-25 13:53:04下载
- 积分:1
-
LabVIEW中利用ActiveX技术实现串行通信的电子书,第三部分
LabVIEW中利用ActiveX技术实现串行通信的电子书,第三部分-LabVIEW realize the use of ActiveX technology serial communication e-books, the third part of
- 2023-06-17 03:35:04下载
- 积分:1
-
某自制区政府网站源代码.数据库为Access,包含完整的数据库.
某自制区政府网站源代码.数据库为Access,包含完整的数据库.-a homemade District government website source code. Database Access, includes a complete database.
- 2022-03-05 11:36:24下载
- 积分:1
-
sequence given by the symmetry Chebyshev filter design. Attention : grammar rule...
乘序给出了对称Chebyshev滤波器的设计.注意:语法规则 cheblp.m lowpass filter design (specify del) cheblp2.m lowpass filter design (specify ws) chebbp.m bandpass filter design (specify del) chebbp2.m bandpass filter design (specify ws1,ws2) chebdiff.m lowpass differentiator design-sequence given by the symmetry Chebyshev filter design. Attention : grammar rules cheblp.m lowpass filter design (specify del) cheblp2.m lowpass filter design (specify ws) chebbp.m bandpass filter design (specify del) chebbp2.m bandpass filter design ( specify ws1, WS2) chebdiff.m lowpass design differentiator
- 2022-06-26 09:15:01下载
- 积分:1
-
同样的多播测试软件,既可以测试发送也可以测试接受,可以查看多播流量...
同样的多播测试软件,既可以测试发送也可以测试接受,可以查看多播流量-same multicast testing software, we can test this test can also accept and multicast traffic View
- 2022-05-26 16:57:58下载
- 积分:1
-
detect a string of words
检测出一个字符串中的单词-detect a string of words
- 2023-03-19 08:50:03下载
- 积分:1
-
这个程序有Alpha的代码,不过太慢了,我一直无法使他支持MMX,唉!我的p54c(你不知道p54c p55c的区别?)...如果您改进了他或完善了,请给我一份...
这个程序有Alpha的代码,不过太慢了,我一直无法使他支持MMX,唉!我的p54c(你不知道p54c p55c的区别?)...如果您改进了他或完善了,请给我一份好吗?让我们共同进步!-Alpha code, but too slowly, I have been unable to keep him support MMX, huh! I p54c (you do not know the difference between p54c p55c) ... If you improve his or refined, please give me a copy please let us make progress together!
- 2022-08-06 12:36:02下载
- 积分:1
-
内部排序算法比较
一、需求分析
1. 实验要对以下6种常用的内部排序算法进行实测比较:起泡,直接插入,简单选择,快速,希尔,堆排序。
2. 待排序表...
内部排序算法比较
一、需求分析
1. 实验要对以下6种常用的内部排序算法进行实测比较:起泡,直接插入,简单选择,快速,希尔,堆排序。
2. 待排序表的表长不小于100,其中的数据要用伪随机数产生(RAND()),至少要用5组不现的输入数据作比较,比较的指标为有关键字参加的比较次数和关键字参加的比较次数和关键字的移动次数。
3. 最后要对结果作出简单分析,包括对各组数据得出结果波动大小的解释。
-internal sorting algorithm 1, a demand analysis. Experiment on the following six kinds of internal sorting algorithm measured comparison : foaming, direct insertion, simple choice, rapid, Hill, Heap Sort. 2. Sorting tables to the long table is not less than 100, which use the data generated pseudo-random number (RAND ()), be at least five sets of input data are provided for comparison. comparable indicators for the keyword in the number of keywords and the number of participants and the number of mobile keyword. 3. Finally, the results of a simple analysis, including data on the outcome of fluctuations in the size of explanation.
- 2023-01-14 13:35:03下载
- 积分:1
-
非常之好玩,可以考验你的耐心和手上的操作,简单上手,对机器的配置要求非常的低....
非常之好玩,可以考验你的耐心和手上的操作,简单上手,对机器的配置要求非常的低.-very fun, a test of your patience and hands, the operation simple and thus the allocation of machines require very low.
- 2022-03-05 02:04:35下载
- 积分:1
-
是一个赛车的游戏 有远代码 可以正常运行 希望和大家在一起 讨论 关注...
是一个赛车的游戏 有远代码 可以正常运行 希望和大家在一起 讨论 关注-Is a racing game has much code can be the normal operation of the hopes and everyone together to discuss issues
- 2022-05-29 10:38:00下载
- 积分:1