-
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
-
序号,以方便工具的输入
便于工具进口的序列号
- 2022-03-15 05:35:17下载
- 积分:1
-
wm6中文语言包,用与SMARTPHONE系统汉化
wm6中文语言包,用与SMARTPHONE系统汉化-wm6中文语言 ?? 用与SMARTPHONE系?澈夯
- 2022-04-20 23:50:32下载
- 积分:1
-
河北工业大学大一至大二学期,课程设计源码,课程题目是画塑像,希望对大家有所帮助,特别是河北工业大学的同学。...
河北工业大学大一至大二学期,课程设计源码,课程题目是画塑像,希望对大家有所帮助,特别是河北工业大学的同学。-Hebei University of Tai second semester freshman year curriculum design source, the curriculum is the subject painted statue, and they hope to help everyone, especially students of Hebei Industrial University.
- 2022-03-24 07:34:43下载
- 积分:1
-
good ajax script form translate sites
good ajax script form translate sites
- 2022-03-15 21:14:23下载
- 积分:1
-
高考倒计时程序,每天使用一次,会对你有提醒作用.
高考倒计时程序,每天使用一次,会对你有提醒作用.-Countdown to College Entrance Examination Procedure
- 2022-07-07 10:32:23下载
- 积分:1
-
对通用串行总线#$% 的技术特点和数据传输机制进行了较详细的分析,并讨论了具有#$% 接口
的数字摄像系统的实现。该系统具有一定的实用价值及应用前景。...
对通用串行总线#$% 的技术特点和数据传输机制进行了较详细的分析,并讨论了具有#$% 接口
的数字摄像系统的实现。该系统具有一定的实用价值及应用前景。-23 of the Universal Serial Bus! $ Of the technical features and data transfer mechanism for a more detailed analysis, and discussed with# $ Interface of the digital camera system. The system has a certain practical value and application prospect.
- 2022-01-28 18:32:30下载
- 积分:1
-
The realization of a five
一个五维魔方的实现,该程序用C++实现了一个五维魔方。-The realization of a five-dimensional Rubik" s Cube
- 2022-11-14 13:55:03下载
- 积分:1
-
Delphi friends list
Delphi 朋友通讯录-Delphi friends list
- 2022-08-04 02:09:41下载
- 积分:1
-
This is intel 8088 x86 IP core, contain software complier & modelsim testbench
This is intel 8088 x86 IP core, contain software complier & modelsim testbench
- 2023-07-27 10:55:03下载
- 积分:1