-
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
-
Entirely in C language staff management system, not too intelligent interface, b...
完全用C语言编写的员工管理系统,界面不太智能化,但可以做为一个参考!-Entirely in C language staff management system, not too intelligent interface, but can be used as a reference!
- 2022-04-11 20:23:55下载
- 积分:1
-
用TC做的一个,类似于windows下画图的程序
用TC做的一个,类似于windows下画图的程序-do with a TC, windows similar to the procedures under Painting
- 2022-06-26 18:54:06下载
- 积分:1
-
代码模版 codtemplate
代码模版 codtemplate-code templates codtemplate
- 2023-06-11 09:15:02下载
- 积分:1
-
笔者在开发县级电网调度自动化系统的过程中,碰到一个要绘制电力系统一次接线图的问题。由于电力系统一次接线图比较复杂,图上有一 些特殊的符号,象变压器符号、开关...
笔者在开发县级电网调度自动化系统的过程中,碰到一个要绘制电力系统一次接线图的问题。由于电力系统一次接线图比较复杂,图上有一 些特殊的符号,象变压器符号、开关符号等等,用一般的编程方法来绘制比较困难,因此,笔者用C语言开发了一个手工绘制电力系统一次接线图 的键盘绘图程序,使用该程序绘制的一次接线图符合用户需求,效果良好。-writer in the development of county-level SCADA process, encountered a power system to draw a diagram of the problem. The electric system diagram of a more complex map some special symbols, symbols like transformers, switch symbol, and so on, using common programming methods to map more difficult, therefore, I used the C language development of a hand-drawn power system diagram of a keyboard mapping procedures, the use of the program was produced by a diagram meet the demands of users, to good effect.
- 2022-01-22 13:54:46下载
- 积分:1
-
一款仿真软件的使用说明以及具体的操作步骤
一款仿真软件的使用说明以及具体的操作步骤-A simulation software instructions as well as specific steps. . . .
- 2022-01-26 07:51:19下载
- 积分:1
-
opnet wireless system simulation process, 802.16 qos on the part of simulation c...
opnet process 无线系统仿真,有关802.16 qos的部分模块仿真代码-opnet wireless system simulation process, 802.16 qos on the part of simulation code module
- 2022-05-12 15:19:02下载
- 积分:1
-
简单的ftp密码探查,基本上有效,就是不太方便
简单的ftp密码探查,基本上有效,就是不太方便-simple ftp password exploration, basically effective, it is not convenient
- 2022-01-22 08:53:08下载
- 积分:1
-
这是一个用 vc++编写的史密斯圆图软件
这是一个用 vc++编写的史密斯圆图软件-This is a used vc++ Prepared by Smith Software
- 2022-11-20 10:25:03下载
- 积分:1
-
squid
squid-2.4 for linux7.2
- 2022-01-31 10:16:39下载
- 积分:1