BWAPI
|
#include <ConstructionManager.h>
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 |
ConstructionManager::ConstructionManager | ( | Arbitrator::Arbitrator< BWAPI::Unit *, double > * | arbitrator, |
BuildingPlacer * | placer | ||
) |
bool ConstructionManager::build | ( | BWAPI::UnitType | type, |
BWAPI::TilePosition | goalPosition, | ||
bool | forcePosition | ||
) |
std::string ConstructionManager::getName | ( | ) | const [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.
int ConstructionManager::getPlannedCount | ( | BWAPI::UnitType | type | ) | const |
std::string ConstructionManager::getShortName | ( | ) | const [virtual] |
Reimplemented from Arbitrator::Controller< BWAPI::Unit *, double >.
int ConstructionManager::getStartedCount | ( | BWAPI::UnitType | type | ) | const |
void ConstructionManager::onOffer | ( | std::set< BWAPI::Unit * > | units | ) | [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.
void ConstructionManager::onRemoveUnit | ( | BWAPI::Unit * | unit | ) |
void ConstructionManager::onRevoke | ( | BWAPI::Unit * | unit, |
double | bid | ||
) | [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.
void ConstructionManager::update | ( | ) | [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.