![]() |
BTHAI 2.0
|
00001 #ifndef __STARPORTAGENT_H__ 00002 #define __STARPORTAGENT_H__ 00003 00004 #include <BWAPI.h> 00005 #include "StructureAgent.h" 00006 using namespace BWAPI; 00007 using namespace std; 00008 00021 class StarportAgent : public StructureAgent { 00022 00023 private: 00024 int hasAddon; 00025 UnitType toBuild; 00026 00027 public: 00028 StarportAgent(Unit* mUnit); 00029 00031 void computeActions(); 00032 00034 string getTypeName(); 00035 00037 void assignToBuild(UnitType type); 00038 }; 00039 00040 #endif