- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
MemberStatus.h
资源名称:LwGame2.0.rar [点击查看]
上传用户:semy2100
上传日期:2013-01-22
资源大小:3633k
文件大小:1k
源码类别:
射击游戏
开发平台:
Visual C++
- /********************************************************************
- * 空运爆发 *
- * Version 2.0 *
- * 本游戏全部代码由: *
- * 冲天实验室 梁锋 编写 *
- * 邮箱:lenwine@126.com *
- * bbs: http://free2.e-168.cn/lenwind (正在开发中...) *
- **********************************************************************/
- #ifndef MEMBERSTATUS_H
- #define MEMBERSTATUS_H
- class MemberStatus
- {
- protected:
- Manager *mManager;
- int blow_up_value,blow_up_current;//爆炸时的总帧数,及当前帧
- double x,y;
- void ChangePlace();
- public:
- int bx,by,Bitlong,Bittall;
- int rx,ry,rlong,rtall;//碰撞检测
- int alive,shootpower,alive2;
- double spx,spy;// 速度
- bool Work;
- bool leaverect();//判断是否离开活动区域
- bool leaveline();//判断是否离开该视线
- int GetX(){return (int)x;}
- int GetY(){return (int)y;}
- void SetX(int xv){x=xv;}
- void SetY(int yv){y=yv;}
- MemberStatus(Manager *mgr,int xv,int yv);
- virtual void Update();
- virtual void Update2();
- };
- #endif