BWAPI
BTHAI/SCProjects/BTHAIModule/Source/MedicAgent.h
Go to the documentation of this file.
00001 #ifndef __MEDICAGENT_H__
00002 #define __MEDICAGENT_H__
00003 
00004 #include <BWAPI.h>
00005 #include "UnitAgent.h"
00006 using namespace BWAPI;
00007 using namespace std;
00008 
00017 class MedicAgent : public UnitAgent {
00018 
00019 private:
00020         bool checkUnitsToHeal();
00021         bool checkUnitsToFollow();
00022 
00023 public:
00024         MedicAgent(Unit* mUnit);
00025 
00027         void computeActions();
00028 
00030         string getTypeName();
00031 
00034         static bool isMedicTarget(Unit* mUnit);
00035 };
00036 
00037 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines