BWAPI
|
00001 #ifndef __HARASSSQUAD_H__ 00002 #define __HARASSSQUAD_H__ 00003 00004 #include "BaseAgent.h" 00005 #include "Squad.h" 00006 00007 using namespace BWAPI; 00008 using namespace std; 00009 00015 class HarassSquad : public Squad { 00016 00017 private: 00018 int lastCheckFrame; 00019 00020 public: 00023 HarassSquad(int mId, string mName, int mPriority); 00024 00028 bool isActive(); 00029 00031 void computeActions(); 00032 00034 void setGoal(TilePosition mGoal); 00035 00038 void clearGoal(); 00039 00041 TilePosition getGoal(); 00042 00044 bool hasGoal(); 00045 00047 void printInfo(); 00048 }; 00049 00050 #endif