BWAPI
Classes | Public Member Functions
ConstructionManager Class Reference

#include <ConstructionManager.h>

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

List of all members.

Classes

class  Building

Public Member Functions

 ConstructionManager (Arbitrator::Arbitrator< BWAPI::Unit *, double > *arbitrator, BuildingPlacer *placer)
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 onRemoveUnit (BWAPI::Unit *unit)
bool build (BWAPI::UnitType type, BWAPI::TilePosition goalPosition, bool forcePosition)
int getPlannedCount (BWAPI::UnitType type) const
int getStartedCount (BWAPI::UnitType type) const

Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

bool ConstructionManager::build ( BWAPI::UnitType  type,
BWAPI::TilePosition  goalPosition,
bool  forcePosition 
)

Here is the call graph for this function:

Here is the caller graph for this function:

std::string ConstructionManager::getName ( ) const [virtual]

Here is the caller graph for this function:

std::string ConstructionManager::getShortName ( ) const [virtual]

Here is the caller graph for this function:

void ConstructionManager::onOffer ( std::set< BWAPI::Unit * >  units) [virtual]

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

Here is the call graph for this function:

void ConstructionManager::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 Enumerations Enumerator Defines