-
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
-
一
一维小波算法的VC++实现
详细算法流程请参考程序中的注释部分
程序通过测试-One-dimensional wavelet algorithm for VC to achieve a detailed algorithm flow process please refer to the Notes section of the program to pass the test
- 2022-01-25 20:54:15下载
- 积分:1
-
raycast仿3d场景实例,gba平台,使用arm
raycast仿3d场景实例,gba平台,使用arm-gcc或armsdt编译-raycast imitation 3d scenes example, DS platform, the use of arm-gcc compiler or armsdt
- 2023-04-28 13:35:03下载
- 积分:1
-
李刚 请赶快放开我的权限 我上载的源码都是很精湛的,请查阅,qing请加我 li_xue_ming@msn.com必要的话可以和我在线沟通...
李刚 请赶快放开我的权限 我上载的源码都是很精湛的,请查阅,qing请加我 li_xue_ming@msn.com必要的话可以和我在线沟通-Gang quickly open my competence, I uploaded the source are very exciting, accessible, qing requested increase, I li_xue_ming@msn.com necessary so I can communicate online
- 2022-03-25 10:19:49下载
- 积分:1
-
Version 5.0 :* Add the Manufacturer infomation link on the St. art menu* Change...
Version 5.0:
* Add the Manufacturer infomation link on the Start menu
* Change the intel cpu s logo
* Fixed several bugs.-Version 5.0 :* Add the Manufacturer infomation link on the St. art menu* Change the intel cpu"s logo* Fixed Kaijing acidic bugs.
- 2022-04-23 22:55:39下载
- 积分:1
-
socket communication process, from the client to send a number of characters in...
socket通讯程序,从客户端发送若干字符后在在服务器端接收-socket communication process, from the client to send a number of characters in the server side to receive
- 2022-06-15 01:32:47下载
- 积分:1
-
c语言编写的通讯录
c语言编写的通讯录-c language directories
- 2023-02-24 16:50:03下载
- 积分:1
-
跟踪IRP的一个工具,驱动开发中的很使实用的辅助工具.
跟踪IRP的一个工具,驱动开发中的很使实用的辅助工具.-IRP a tracking tool, driving the development of very practical so that the auxiliary tool.
- 2022-09-08 00:05:02下载
- 积分:1
-
分割文件程序 可一将一个大文件分成若干个小文件 也可以再把它们合并恢复
分割文件程序 可一将一个大文件分成若干个小文件 也可以再把它们合并恢复-segmentation procedures document will be a document is divided into a large number of small files can then resume their merger
- 2022-04-25 02:39:31下载
- 积分:1
-
1 summarizes the most current methods of ellipse fitting articles and in
一篇总结了当前大多数椭圆拟合方法的文章,并进行了深度分析,提出了改进的方法,适用于初学者进阶阅读。-1 summarizes the most current methods of ellipse fitting articles and in-depth analysis, put forward an improved method, applicable to advanced beginners to read.
- 2022-02-03 23:09:08下载
- 积分:1