BWAPI
|
00001 #ifndef __REAVERAGENT_H__ 00002 #define __REAVERAGENT_H__ 00003 00004 #include "UnitAgent.h" 00005 using namespace BWAPI; 00006 using namespace std; 00007 00015 class ReaverAgent : public UnitAgent { 00016 00017 private: 00018 bool goalSet; 00019 00020 public: 00021 ReaverAgent(Unit* mUnit); 00022 00024 void computeActions(); 00025 00027 string getTypeName(); 00028 00030 void setGoal(TilePosition goal); 00031 00033 void clearGoal(); 00034 }; 00035 00036 #endif