BWAPI
|
00001 #ifndef __EXPLORATIONSQUAD_H__ 00002 #define __EXPLORATIONSQUAD_H__ 00003 00004 #include "BaseAgent.h" 00005 #include "Squad.h" 00006 00007 using namespace BWAPI; 00008 using namespace std; 00009 00015 class ExplorationSquad : public Squad { 00016 00017 private: 00018 00019 00020 public: 00022 ExplorationSquad(int mId, string mName, int mMoveType, int mPriority); 00023 00027 bool isActive(); 00028 00030 void computeActions(); 00031 00033 void setGoal(TilePosition mGoal); 00034 00037 void clearGoal(); 00038 00040 TilePosition getGoal(); 00041 00043 bool hasGoal(); 00044 00046 void printInfo(); 00047 }; 00048 00049 #endif