-
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
-
这是我收集基用于tinyos实现的AES加密算法,希望能帮助大家
这是我收集基用于tinyos实现的AES加密算法,希望能帮助大家-This is my collection for tinyos based AES encryption algorithm implementation, hoping to help people
- 2022-06-06 14:59:34下载
- 积分:1
-
Wintech F28x Flash programmer procedures useful
闻亭F28x Flash烧写程序,希望有用-Wintech F28x Flash programmer procedures useful
- 2022-06-11 13:31:48下载
- 积分:1
-
Is a small program, hope that we can gain. . . . . .
是一个小程序,希望大家能收获。
- 2022-03-15 20:19:41下载
- 积分:1
-
有关界面操作及检测磁盘是否忙状态、磁硬是否写保护的几个源程序...
有关界面操作及检测磁盘是否忙状态、磁硬是否写保护的几个源程序- The related contact surface operation and the examination
floppy disk busy condition, are the magnetism whether hard whether
writes the protection several source programs
- 2023-01-19 14:45:04下载
- 积分:1
-
二维条码控件
资源描述MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
- 2022-05-28 19:18:25下载
- 积分:1
-
扫砖游戏,游戏规则详见源代码注释部分,全C语言编程
扫砖游戏,游戏规则详见源代码注释部分,全C语言编程-brick game, the rules of the game as detailed source notes, the entire C language programming
- 2023-02-05 02:50:04下载
- 积分:1
-
数值分析函数插值法
数值分析函数插值方法-numerical analysis function interpolation method
- 2022-01-26 06:35:34下载
- 积分:1
-
简单购物车功能的实现,使用Flex+java+Hibernate完成了购物车的部分功能。...
简单购物车功能的实现,使用Flex+java+Hibernate完成了购物车的部分功能。-The realization of a simple shopping cart feature, use the Flex+ java+ Hibernate to complete some of the features of the shopping cart.
- 2022-10-19 01:55:05下载
- 积分:1
-
union management software, with VFP language series oh
工会管理软件,用VFP语言编的哦-union management software, with VFP language series oh
- 2022-10-26 03:10:03下载
- 积分:1