BWAPI
|
00001 #ifndef BIOATTACK_GOALHEADERS_H 00002 #define BIOATTACK_GOALHEADERS_H 00003 #include "GoalGeneratorBase.h" 00004 #include "GoalTypes.h" 00005 00006 class ResearchManagerAgent; 00007 00008 // worker training goal 00009 class Research_BioAttackGoalGenerator : public GoalGeneratorBase { 00010 public: 00011 Research_BioAttackGoalGenerator(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 // implementation stuff 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 #endif