BWAPI
|
#include <BuildManager.h>
Public Member Functions | |
BuildManager (Arbitrator::Arbitrator< BWAPI::Unit *, double > *arbitrator) | |
~BuildManager () | |
void | update () |
std::string | getName () const |
BuildingPlacer * | getBuildingPlacer () const |
void | onRemoveUnit (BWAPI::Unit *unit) |
bool | build (BWAPI::UnitType type) |
bool | build (BWAPI::UnitType type, bool forceNoAddon) |
bool | build (BWAPI::UnitType type, BWAPI::TilePosition goalPosition) |
bool | build (BWAPI::UnitType type, BWAPI::TilePosition goalPosition, bool forceNoAddon, bool forcePosition=false) |
int | getPlannedCount (BWAPI::UnitType type) const |
int | getStartedCount (BWAPI::UnitType type) const |
int | getCompletedCount (BWAPI::UnitType type) const |
void | setBuildDistance (int distance) |
BWAPI::UnitType | getBuildType (BWAPI::Unit *unit) const |
void | setDebugMode (bool debugMode) |
BuildManager::BuildManager | ( | Arbitrator::Arbitrator< BWAPI::Unit *, double > * | arbitrator | ) |
bool BuildManager::build | ( | BWAPI::UnitType | type | ) |
bool BuildManager::build | ( | BWAPI::UnitType | type, |
bool | forceNoAddon | ||
) |
bool BuildManager::build | ( | BWAPI::UnitType | type, |
BWAPI::TilePosition | goalPosition | ||
) |
bool BuildManager::build | ( | BWAPI::UnitType | type, |
BWAPI::TilePosition | goalPosition, | ||
bool | forceNoAddon, | ||
bool | forcePosition = false |
||
) |
BuildingPlacer * BuildManager::getBuildingPlacer | ( | ) | const |
BWAPI::UnitType BuildManager::getBuildType | ( | BWAPI::Unit * | unit | ) | const |
int BuildManager::getCompletedCount | ( | BWAPI::UnitType | type | ) | const |
std::string BuildManager::getName | ( | ) | const |
int BuildManager::getPlannedCount | ( | BWAPI::UnitType | type | ) | const |
int BuildManager::getStartedCount | ( | BWAPI::UnitType | type | ) | const |
void BuildManager::onRemoveUnit | ( | BWAPI::Unit * | unit | ) |
void BuildManager::setBuildDistance | ( | int | distance | ) |
void BuildManager::setDebugMode | ( | bool | debugMode | ) |
void BuildManager::update | ( | ) |