Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals   Related Pages  

botinfo.h

Go to the documentation of this file.
00001 
00013 #ifndef BOTINFO_H
00014 #define BOTINFO_H
00015 
00020 enum TBotAction {EActionNone = 0, EActionMove = 1, EActionShoot = 2,
00021                  EActionBunker = 4, EActionPickWeapon = 8, EActionDropWeapon = 16};
00022 
00027 class CVisibleBotInfo : public CMovingGameObj
00028 {
00029 public:
00031     CVisibleBotInfo();
00041     CVisibleBotInfo(CVisibleBotInfo *aBotInfo, float aXPos, float aYPos);
00042 
00044     virtual ~CVisibleBotInfo();
00045 
00050     bool enemy();
00051 };
00052 
00054 class CBotInfo : public CVisibleBotInfo
00055 {
00056 public:
00058     CBotInfo();
00059 
00061     virtual ~CBotInfo();
00062 
00067     char actionDelay();
00068 
00070     const CWeapon *weapon();
00071 
00072 protected:
00074     char mActionDelay;
00075 
00077     CWeapon *mWeapon;
00078 
00080     TBotAction mBotAction;
00081 
00083     bool mBunkered;
00084 };
00085 
00086 #endif // BOTINFO_H

Generated on Mon Jun 9 22:02:24 2003 for Drunken Bot III by doxygen1.3-rc3