BWAPI
BTHAI/SCProjects/BTHAIModule/Source/ShuttleSquad.h
Go to the documentation of this file.
00001 #ifndef __SHUTTLESQUAD_H__
00002 #define __SHUTTLESQUAD_H__
00003 
00004 #include "BaseAgent.h"
00005 #include "Squad.h"
00006 
00007 using namespace BWAPI;
00008 using namespace std;
00009 
00014 class ShuttleSquad : public Squad {
00015 
00016 private:
00017 
00018         enum states {
00019                 IDLE, BUSY
00020         };
00021         states state;
00022 
00023         bool init;
00024 
00025         bool baseHarass;
00026         
00027         
00028 public:
00031         ShuttleSquad(int mId, string mName, int mPriority, bool mIsBaseHarass);
00032 
00036         bool isActive();
00037 
00039         void computeActions();
00040 
00042         void setGoal(TilePosition mGoal);
00043 
00046         void clearGoal();
00047 
00049         TilePosition getGoal();
00050 
00052         bool hasGoal();
00053 
00055         void printInfo();
00056 };
00057 
00058 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines