BWAPI
|
00001 #ifndef __FIREBATAGENT_H__ 00002 #define __FIREBATAGENT_H__ 00003 00004 #include <BWAPI.h> 00005 #include "UnitAgent.h" 00006 #include "BunkerAgent.h" 00007 using namespace BWAPI; 00008 using namespace std; 00009 00018 class FirebatAgent : public UnitAgent { 00019 00020 private: 00021 Unit* myBunker; 00022 00023 public: 00024 FirebatAgent(Unit* mUnit); 00025 00027 void computeActions(); 00028 00030 string getTypeName(); 00031 00033 bool isBunkered(); 00034 00036 void assignToBunkerDefend(Unit* bunker); 00037 }; 00038 00039 #endif