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

#include <WorkerManager.h>

Inheritance diagram for WorkerManager:
Inheritance graph
[legend]
Collaboration diagram for WorkerManager:
Collaboration graph
[legend]

List of all members.

Classes

class  WorkerData

Public Member Functions

virtual void onOffer (std::set< BWAPI::Unit * > units)
virtual void onRevoke (BWAPI::Unit *unit, double bid)
virtual void update ()
virtual std::string getName () const
virtual std::string getShortName () const
void onUnitDestroy (BWAPI::Unit *unit)
void onRemoveUnit (BWAPI::Unit *unit)
void setWorkersPerGas (int count)
double getMineralRate () const
double getGasRate () const
int getOptimalWorkerCount () const
void enableAutoBuild ()
void disableAutoBuild ()
void setAutoBuildPriority (int priority)

Static Public Member Functions

static WorkerManagercreate ()
static void destroy ()

Member Function Documentation

void WorkerManager::destroy ( ) [static]

Here is the caller graph for this function:

double WorkerManager::getGasRate ( ) const
string WorkerManager::getName ( ) const [virtual]
string WorkerManager::getShortName ( ) const [virtual]
void WorkerManager::onOffer ( std::set< BWAPI::Unit * >  units) [virtual]

Implements Arbitrator::Controller< BWAPI::Unit *, double >.

Here is the call graph for this function:

void WorkerManager::onRemoveUnit ( BWAPI::Unit *  unit)

Here is the caller graph for this function:

void WorkerManager::onRevoke ( BWAPI::Unit *  unit,
double  bid 
) [virtual]

Implements Arbitrator::Controller< BWAPI::Unit *, double >.

Here is the call graph for this function:

void WorkerManager::onUnitDestroy ( BWAPI::Unit *  unit)

Here is the call graph for this function:

Here is the caller graph for this function:

void WorkerManager::setAutoBuildPriority ( int  priority)
void WorkerManager::setWorkersPerGas ( int  count)
void WorkerManager::update ( ) [virtual]

Implements Arbitrator::Controller< BWAPI::Unit *, double >.

Here is the call graph for this function:

Here is the caller graph for this function:


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