BTHAI 2.0
BTHAIModule/Source/ProtossBuildPlanner.h
00001 #ifndef __PROTOSSBUILDPLANNER_H__
00002 #define __PROTOSSBUILDPLANNER_H__
00003 
00004 #include "BuildPlanner.h"
00005 #include "ProtossCommander.h"
00006 
00007 using namespace BWAPI;
00008 using namespace std;
00009 
00016 class ProtossBuildPlanner : public BuildPlanner {
00017 
00018 private:
00019         int level;
00020         ProtossCommander* getCommanderInstance();
00021 
00022         bool isImportantBuilding(UnitType type);
00023 
00024 public:
00025         ProtossBuildPlanner();
00026         ~ProtossBuildPlanner();
00027 
00029         void init();
00030 
00032         void computeActions();
00033 
00035         void buildingDestroyed(Unit* building);
00036 
00038         void handleNoBuildspotFound(UnitType toBuild);
00039 
00041         void printInfo();
00042 };
00043 
00044 #endif
 All Classes Functions Variables