BWAPI
|
00001 #ifndef SCOUTMANAGERAGENT_H 00002 #define SCOUTMANAGERAGENT_H 00003 #include "GoalDescriptor.h" 00004 #include "AgentPool.h" 00005 #include "GoalTypes.h" 00006 #include "ScoutTacticsModel.h" 00007 #include <vector> 00008 00009 00010 class ScoutManagerAgent : public AgentBase { 00011 public: 00012 00013 ScoutManagerAgent(AgentPool* p); 00014 void ScoutManagerAgent::recruitScout(Unit* u, Squad* returnLocation); 00015 void ScoutManagerAgent::relinquish(ScoutTacticsModel* m); 00016 00017 virtual void updateDrives(); 00018 virtual Arbitrator* getArbitrator() { return NULL; }; 00019 00020 00021 00022 private: 00023 AgentPool* agentPool; 00024 std::vector<ScoutTacticsModel*> activeScouts; 00025 Squad* returnPosition; 00026 00027 00028 }; 00029 00030 00031 #endif