|
BWAPI
|
00001 #pragma once 00002 00003 #include "defines.h" 00004 #include "AiLogger.h" 00005 00006 class Adjuntant 00007 { 00008 Environment* _env; 00009 00010 AiLogger* _logger; 00011 TimerCollector* _timerCollector; 00012 00013 bool _willBuildSupply; 00014 00015 TaskList prioritizeTasks(); 00016 00017 void assignTasksToAgents(TaskList* tasks); 00018 void evaluateStatus(TaskList* tasks); 00019 00020 void generateNecessaryTasks(); 00021 void removeFinishedTasks(); 00022 00023 void stepAgents(); 00024 00025 public: 00026 Adjuntant(Environment* env, AiLogger* logger); 00027 virtual ~Adjuntant(void); 00028 00029 void displayInfo(); 00030 void displayPlannedBuildings(); 00031 void displayTaskInfo(int &row, Agent* agent); 00032 Agent* displayAgentInfo(int &row); 00033 void displayMapSectors(); 00034 00035 TaskList createSortedTaskList(); 00036 00037 void process(); 00038 };
1.7.6.1