BWAPI
Agents/BaseAgent.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "BuildingAgent.h"
00004 
00005 class BaseAgent :
00006         public BuildingAgent
00007 {
00008 protected:
00009         UnitSet _mineralPatches;
00010         UnitSet _refineries;
00011         UnitSet _geysers;
00012 
00013         UnitType _refineryType;
00014 
00015 public:
00016         BaseAgent(Unit* unit, Environment* env);
00017         virtual ~BaseAgent(void);
00018 
00019         void initialize();
00020         void refresh();
00021 
00022         UnitSet* getMineralPatches();
00023         UnitSet* getRefineries();
00024         UnitSet* getGeysers();
00025 
00026         void displayInfo(int &row);
00027 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines