-
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
-
将短消息放入到收件箱
将短消息放入到收件箱-Add to the Short Message Inbox
- 2022-01-25 20:11:37下载
- 积分:1
-
水平二维均质、各向同性、四周封闭等厚的长方形纯油藏数值模拟
水平二维均质、各向同性、四周封闭等厚的长方形纯油藏数值模拟
L=400m,D=800m,厚度H=20m,Φ=0.2,Pi=19.61323MPa=20kg/cm3
K=0.2D=200*10-3um2,u=1.5mPa.s,C=1.01972*10-2MPa-1=1.0*10-3(kg/cm2)-1
井位在x=350m,y=250m处,Q=78m3/d,求第676天油藏压力分
采用高斯消元法和LU分解法
- 2022-02-06 11:58:31下载
- 积分:1
-
VB is a preparation of a bank with ATM machine transactions
是一个用VB编写得银行ATM机交易的程序-VB is a preparation of a bank with ATM machine transactions
- 2022-03-18 05:27:30下载
- 积分:1
-
这是一个用C编写的图书馆管理系统,功能包含了登记新书,注册新用户,借还图书登记等等。界面也简单易懂。...
这是一个用C编写的图书馆管理系统,功能包含了登记新书,注册新用户,借还图书登记等等。界面也简单易懂。-This is a prepared using C library management system, functionality includes the registration of a new book, register new users, registration and so on circulation. Easy-to-understand interface.
- 2022-03-26 15:50:58下载
- 积分:1
-
用API编写的串口通信小程序,2串口连接后,能够相互发送文字...
用API编写的串口通信小程序,2串口连接后,能够相互发送文字-Prepared using serial communication API applet, 2 serial port connection, can send each other text
- 2023-07-10 08:55:02下载
- 积分:1
-
迷宫问题的算法(优于广度优先,深度优先
迷宫问题的算法(优于广度优先,深度优先-maze of algorithm (priority than breadth, depth priority
- 2022-06-15 11:22:11下载
- 积分:1
-
C++ _console自写申请为C++初学者
C++_console self writting application for beginners into c-C++_console self writting application for beginners into c++
- 2022-08-17 12:34:54下载
- 积分:1
-
pain dragon line in Dos C
pain dragon line in Dos C
- 2023-01-20 06:00:04下载
- 积分:1
-
这是《数据结构》的课程实习报告,内容包括报告书写格式、源代码、以及测试结果...
这是《数据结构》的课程实习报告,内容包括报告书写格式、源代码、以及测试结果-This is a "data structure," the report internship programs, including report writing format, source code, and test results
- 2023-06-10 13:15:03下载
- 积分:1