BWAPI
|
00001 #ifndef __SCIENCEVESSELAGENT_H__ 00002 #define __SCIENCEVESSELAGENT_H__ 00003 00004 #include <BWAPI.h> 00005 #include "UnitAgent.h" 00006 using namespace BWAPI; 00007 using namespace std; 00008 00020 class ScienceVesselAgent : public UnitAgent { 00021 00022 private: 00023 BaseAgent* findImportantUnit(); 00024 bool isImportantUnit(BaseAgent* agent); 00025 int lastIrradiateFrame; 00026 00027 public: 00028 ScienceVesselAgent(Unit* mUnit); 00029 00031 void computeActions(); 00032 00034 string getTypeName(); 00035 }; 00036 00037 #endif