BWAPI
|
#include <ProductionManager.h>
Classes | |
class | ProductionUnitType |
class | Unit |
Public Member Functions | |
ProductionManager (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 | train (BWAPI::UnitType type, bool forceNoAddon=false) |
int | getPlannedCount (BWAPI::UnitType type) const |
int | getStartedCount (BWAPI::UnitType type) const |
BWAPI::UnitType | getBuildType (BWAPI::Unit *unit) const |
ProductionManager::ProductionManager | ( | Arbitrator::Arbitrator< BWAPI::Unit *, double > * | arbitrator, |
BuildingPlacer * | placer | ||
) |
BWAPI::UnitType ProductionManager::getBuildType | ( | BWAPI::Unit * | unit | ) | const |
std::string ProductionManager::getName | ( | ) | const [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.
int ProductionManager::getPlannedCount | ( | BWAPI::UnitType | type | ) | const |
std::string ProductionManager::getShortName | ( | ) | const [virtual] |
Reimplemented from Arbitrator::Controller< BWAPI::Unit *, double >.
int ProductionManager::getStartedCount | ( | BWAPI::UnitType | type | ) | const |
void ProductionManager::onOffer | ( | std::set< BWAPI::Unit * > | units | ) | [virtual] |
void ProductionManager::onRemoveUnit | ( | BWAPI::Unit * | unit | ) |
void ProductionManager::onRevoke | ( | BWAPI::Unit * | unit, |
double | bid | ||
) | [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.
bool ProductionManager::train | ( | BWAPI::UnitType | type, |
bool | forceNoAddon = false |
||
) |
void ProductionManager::update | ( | void | ) | [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.