BWAPI
|
#include <BaseManager.h>
Public Member Functions | |
BaseManager () | |
void | setBuildOrderManager (BuildOrderManager *builder) |
void | setBuildManager (BuildManager *buildManager) |
void | setBorderManager (BorderManager *borderManager) |
void | update () |
void | updateRefineries () |
Base * | getBase (BWTA::BaseLocation *location) |
BWTA::BaseLocation * | getLastTakenBaseLocation () |
BWTA::BaseLocation * | expand (int priority=100) |
BWTA::BaseLocation * | expand (BWTA::BaseLocation *location, int priority=100) |
std::set< Base * > | getActiveBases () const |
std::set< Base * > | getAllBases () const |
std::set< Base * > | getAllBasesWithGas () |
const std::set< BWTA::Region * > & | getMyRegions () const |
std::string | getName () |
void | onRemoveUnit (BWAPI::Unit *unit) |
bool | hasRefinery (BWTA::BaseLocation *location) |
bool | isRefineryNeeded () |
void | setRefineryBuildPriority (int priority) |
int | getRefineryBuildPriority () |
BWTA::BaseLocation * BaseManager::expand | ( | int | priority = 100 | ) |
BWTA::BaseLocation * BaseManager::expand | ( | BWTA::BaseLocation * | location, |
int | priority = 100 |
||
) |
std::set< Base * > BaseManager::getActiveBases | ( | ) | const |
std::set< Base * > BaseManager::getAllBases | ( | ) | const |
std::set< Base * > BaseManager::getAllBasesWithGas | ( | ) |
Base * BaseManager::getBase | ( | BWTA::BaseLocation * | location | ) |
const std::set< BWTA::Region * > & BaseManager::getMyRegions | ( | ) | const |
std::string BaseManager::getName | ( | ) |
bool BaseManager::hasRefinery | ( | BWTA::BaseLocation * | location | ) |
bool BaseManager::isRefineryNeeded | ( | ) |
void BaseManager::onRemoveUnit | ( | BWAPI::Unit * | unit | ) |
void BaseManager::setBorderManager | ( | BorderManager * | borderManager | ) |
void BaseManager::setBuildManager | ( | BuildManager * | buildManager | ) |
void BaseManager::setBuildOrderManager | ( | BuildOrderManager * | builder | ) |
void BaseManager::setRefineryBuildPriority | ( | int | priority | ) |
void BaseManager::update | ( | ) |
void BaseManager::updateRefineries | ( | ) |