BWAPI
BTHAI/SCProjects/BTHAIModule/Source/MarineAgent.h
Go to the documentation of this file.
00001 #ifndef __MARINEAGENT_H__
00002 #define __MARINEAGENT_H__
00003 
00004 #include <BWAPI.h>
00005 #include "UnitAgent.h"
00006 #include "BunkerAgent.h"
00007 using namespace BWAPI;
00008 using namespace std;
00009 
00020 class MarineAgent : public UnitAgent {
00021 
00022 private:
00023         Unit* myBunker;
00024 
00025 public:
00026         MarineAgent(Unit* mUnit);
00027 
00029         void computeActions();
00030 
00032         string getTypeName();
00033 
00035         bool isBunkered();
00036 
00038         void assignToBunkerDefend(Unit* bunker);
00039 };
00040 
00041 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines