BWAPI
|
00001 #ifndef BIOUTIL_GOALHEADERS_H 00002 #define BIOUTIL_GOALHEADERS_H 00003 #include "GoalGeneratorBase.h" 00004 #include "GoalTypes.h" 00005 00006 class ResearchManagerAgent; 00007 00008 // worker training goal 00009 class Research_StimPacksGoalGenerator : public GoalGeneratorBase { 00010 public: 00011 Research_StimPacksGoalGenerator(AgentPool* a, ResearchManagerAgent* parent); 00012 00013 // generic stuff 00014 virtual void inhibit(); 00015 virtual bool instantiateGoal(); 00016 virtual void updateDrives(); 00017 virtual void initialize(); 00018 virtual int getdrive(); 00019 virtual int getthresh(); 00020 // what 00021 00022 00023 private: 00024 00025 // generic stuff 00026 bool inhibited; 00027 AgentPool* agentPool; 00028 int drive; 00029 int thresh; 00030 int priority; 00031 ResearchManagerAgent* parent; 00032 GoalDescriptor* goal; 00033 00034 // implementation-specific stuff, if needed 00035 00036 00037 }; 00038 00039 00040 00041 00042 // worker training goal 00043 class Research_MarineShellsGoalGenerator : public GoalGeneratorBase { 00044 public: 00045 Research_MarineShellsGoalGenerator(AgentPool* a, ResearchManagerAgent* parent); 00046 00047 // generic stuff 00048 virtual void inhibit(); 00049 virtual bool instantiateGoal(); 00050 virtual void updateDrives(); 00051 virtual void initialize(); 00052 virtual int getdrive(); 00053 virtual int getthresh(); 00054 // what 00055 00056 00057 private: 00058 00059 // generic stuff 00060 bool inhibited; 00061 AgentPool* agentPool; 00062 int drive; 00063 int thresh; 00064 int priority; 00065 ResearchManagerAgent* parent; 00066 GoalDescriptor* goal; 00067 00068 // implementation-specific stuff, if needed 00069 00070 00071 }; 00072 00073 #endif