BWAPI
quorum/ExampleAIModule/Research_BioAttackAndDefenseHeaders.h
Go to the documentation of this file.
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                 // 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 class Research_BioDefenseGoalGenerator : public GoalGeneratorBase {
00040 public:
00041         Research_BioDefenseGoalGenerator(AgentPool* a, ResearchManagerAgent* parent);
00042 
00043         // generic stuff
00044         virtual void inhibit();
00045         virtual bool instantiateGoal();
00046         virtual void updateDrives();
00047         virtual void initialize();
00048         virtual int getdrive();
00049         virtual int getthresh();
00050         // what
00051 
00052 
00053 private:
00054 
00055         // generic stuff
00056         bool inhibited;
00057         AgentPool* agentPool;
00058         int drive;
00059         int thresh;
00060         int priority;
00061         ResearchManagerAgent* parent;
00062         GoalDescriptor* goal;
00063 
00064         // implementation-specific stuff, if needed
00065 
00066 
00067 };
00068 
00069 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines