struct RealGameThreads
{
SearchThread Search;
WorkerThread Worker;
ProductionThread Production;
ControlGroupCheckThread ControlGroupCheck;
ArmyCheckThread ArmyCheck;
OverlordThread Overlord;
QueenThread Queen;
GasWorkerThread GasWorker;
ArmyThread Army;
ChronoBoostThread ChronoBoost;
MicroThread Micro;
};
class ThoughtManager : public Manager
{
public:
ThoughtManager() {}
void ResetAll();
void StartFrame();
void EndFrame();
void ExecuteStep();
private:
void FindWork();
Vector<AIThread*> _AllThreads;
Program *_ActiveProgram; AIThread *_ActiveThread;
RealGameThreads _RealGameThreads; };