Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
MemberStatus.h
Package: LwGame2.0.rar [view]
Upload User: semy2100
Upload Date: 2013-01-22
Package Size: 3633k
Code Size: 1k
Category:
Shot Game
Development Platform:
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