BWAPI
Public Member Functions | Static Public Member Functions
WorkerManager Class Reference

#include <WorkerManager.h>

List of all members.

Public Member Functions

void update ()
void onUnitDestroy (BWAPI::Unit *unit)
void onUnitMorph (BWAPI::Unit *unit)
void onUnitShow (BWAPI::Unit *unit)
void onUnitRenegade (BWAPI::Unit *unit)
void finishedWithWorker (BWAPI::Unit *unit)
void handleIdleWorkers ()
void handleGasWorkers ()
void handleMoveWorkers ()
void handleCombatWorkers ()
void finishedWithCombatWorkers ()
void drawResourceDebugInfo ()
void updateWorkerStatus ()
void drawWorkerInformation (int x, int y)
int getNumMineralWorkers ()
int getNumGasWorkers ()
int getNumIdleWorkers ()
void setScoutWorker (BWAPI::Unit *worker)
bool isWorkerScout (BWAPI::Unit *worker)
bool isBuilder (BWAPI::Unit *worker)
BWAPI::UnitgetBuilder (Building &b, bool setJobAsBuilder=true)
BWAPI::UnitgetMoveWorker (BWAPI::Position p)
BWAPI::UnitgetClosestDepot (BWAPI::Unit *worker)
BWAPI::UnitgetGasWorker (BWAPI::Unit *refinery)
BWAPI::UnitgetClosestEnemyUnit (BWAPI::Unit *worker)
void setMoveWorker (int m, int g, BWAPI::Position p)
void setCombatWorker (BWAPI::Unit *worker)
void smartAttackUnit (BWAPI::Unit *attacker, BWAPI::Unit *target)
bool willHaveResources (int mineralsRequired, int gasRequired, double distance)
void rebalanceWorkers ()

Static Public Member Functions

static WorkerManagergetInstance ()

Member Function Documentation

Here is the call graph for this function:

Here is the caller graph for this function:

void WorkerManager::drawWorkerInformation ( int  x,
int  y 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

BWAPI::Unit * WorkerManager::getBuilder ( Building b,
bool  setJobAsBuilder = true 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

void WorkerManager::setMoveWorker ( int  m,
int  g,
BWAPI::Position  p 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void WorkerManager::smartAttackUnit ( BWAPI::Unit attacker,
BWAPI::Unit target 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

bool WorkerManager::willHaveResources ( int  mineralsRequired,
int  gasRequired,
double  distance 
)

Here is the call graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines