BWAPI
|
#include <InformationManager.h>
Classes | |
class | UnitData |
Public Member Functions | |
void | onUnitDiscover (BWAPI::Unit *unit) |
void | onUnitEvade (BWAPI::Unit *unit) |
void | onUnitDestroy (BWAPI::Unit *unit) |
BWAPI::Player * | getPlayer (BWAPI::Unit *unit) const |
BWAPI::UnitType | getType (BWAPI::Unit *unit) const |
BWAPI::Position | getLastPosition (BWAPI::Unit *unit) const |
int | getLastSeenTime (BWAPI::Unit *unit) const |
bool | exists (BWAPI::Unit *unit) const |
bool | enemyHasBuilt (BWAPI::UnitType type) const |
int | getBuildTime (BWAPI::UnitType type) const |
const std::set < BWTA::BaseLocation * > & | getEnemyBases () const |
void | setBaseEmpty (BWTA::BaseLocation *base) |
void | addEnemyBase (BWTA::BaseLocation *base) |
To be used only when we can infer where the enemy is with > 2 start locations. | |
Static Public Member Functions | |
static InformationManager * | create () |
static void | destroy () |
void InformationManager::addEnemyBase | ( | BWTA::BaseLocation * | base | ) |
To be used only when we can infer where the enemy is with > 2 start locations.
InformationManager * InformationManager::create | ( | ) | [static] |
void InformationManager::destroy | ( | ) | [static] |
bool InformationManager::enemyHasBuilt | ( | BWAPI::UnitType | type | ) | const |
bool InformationManager::exists | ( | BWAPI::Unit * | unit | ) | const |
int InformationManager::getBuildTime | ( | BWAPI::UnitType | type | ) | const |
const set< BWTA::BaseLocation * > & InformationManager::getEnemyBases | ( | ) | const |
Position InformationManager::getLastPosition | ( | BWAPI::Unit * | unit | ) | const |
int InformationManager::getLastSeenTime | ( | BWAPI::Unit * | unit | ) | const |
Player * InformationManager::getPlayer | ( | BWAPI::Unit * | unit | ) | const |
UnitType InformationManager::getType | ( | BWAPI::Unit * | unit | ) | const |
void InformationManager::onUnitDestroy | ( | BWAPI::Unit * | unit | ) |
void InformationManager::onUnitDiscover | ( | BWAPI::Unit * | unit | ) |
void InformationManager::onUnitEvade | ( | BWAPI::Unit * | unit | ) |
void InformationManager::setBaseEmpty | ( | BWTA::BaseLocation * | base | ) |