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