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