BWAPI
BTHAI/SCProjects/BTHAIModule/Source/HatcheryAgent.h
Go to the documentation of this file.
00001 #ifndef __HATCHERYAGENT_H__
00002 #define __HATCHERYAGENT_H__
00003 
00004 #include <BWAPI.h>
00005 #include "StructureAgent.h"
00006 
00007 using namespace BWAPI;
00008 using namespace std;
00009 
00018 class HatcheryAgent : public StructureAgent {
00019 
00020 private:
00021         bool hasSentWorkers;
00022         bool checkBuildUnit(UnitType type);
00023 
00024 public:
00025         HatcheryAgent(Unit* mUnit);
00026 
00028         void computeActions();
00029 
00031         string getTypeName();
00032 };
00033 
00034 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines