BWAPI
BTHAI/SCProjects/BTHAIModule/Source/KiteSquad.h
Go to the documentation of this file.
00001 #ifndef __KITESQUAD_H__
00002 #define __KITESQUAD_H__
00003 
00004 #include "BaseAgent.h"
00005 #include "Squad.h"
00006 
00007 using namespace BWAPI;
00008 using namespace BWTA;
00009 using namespace std;
00010 
00016 class KiteSquad : public Squad {
00017 
00018 private:
00019         TilePosition getNextStartLocation();
00020         bool isVisible(TilePosition pos);
00021         vector<TilePosition> hasVisited;
00022         
00023 public:
00025         KiteSquad(int mId, string mName, int mMoveType, int mPriority);
00026 
00030         bool isActive();
00031 
00033         void computeActions();
00034 
00036         void setGoal(TilePosition mGoal);
00037 
00040         void clearGoal();
00041 
00043         TilePosition getGoal();
00044 
00046         bool hasGoal();
00047 
00049         void printInfo();
00050 };
00051 
00052 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines