BWAPI
|
00001 #ifndef __OVERLORDAGENT_H__ 00002 #define __ZEALOTAGENT_H__ 00003 00004 #include <BWAPI.h> 00005 #include "UnitAgent.h" 00006 using namespace BWAPI; 00007 using namespace std; 00008 00016 class OverlordAgent : public UnitAgent { 00017 00018 private: 00019 int lastUpdateFrame; 00020 void updateGoal(); 00021 00022 public: 00023 OverlordAgent(Unit* mUnit); 00024 00026 void computeActions(); 00027 00029 string getTypeName(); 00030 }; 00031 00032 #endif