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