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)
int getPlannedCount (BWAPI::UnitType type) const
int getStartedCount (BWAPI::UnitType type) const

Constructor & Destructor Documentation

ConstructionManager::ConstructionManager ( Arbitrator::Arbitrator< BWAPI::Unit *, double > *  arbitrator,
BuildingPlacer placer 
)

Member Function Documentation

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

Here is the caller graph for this function:

std::string ConstructionManager::getName ( ) const [virtual]
int ConstructionManager::getPlannedCount ( BWAPI::UnitType  type) const

Here is the caller graph for this function:

std::string ConstructionManager::getShortName ( ) const [virtual]
int ConstructionManager::getStartedCount ( BWAPI::UnitType  type) const

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:

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

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 Typedefs Enumerations Enumerator Friends Defines