BWAPI
Classes | Public Member Functions | Static Public Member Functions
InformationManager Class Reference

#include <InformationManager.h>

List of all members.

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 InformationManagercreate ()
static void destroy ()

Member Function Documentation

void InformationManager::addEnemyBase ( BWTA::BaseLocation *  base)

To be used only when we can infer where the enemy is with > 2 start locations.

Here is the caller graph for this function:

void InformationManager::destroy ( ) [static]
bool InformationManager::enemyHasBuilt ( BWAPI::UnitType  type) const
bool InformationManager::exists ( BWAPI::Unit *  unit) const

Here is the caller graph for this function:

int InformationManager::getBuildTime ( BWAPI::UnitType  type) const
const set< BWTA::BaseLocation * > & InformationManager::getEnemyBases ( ) const

Here is the caller graph for this function:

Position InformationManager::getLastPosition ( BWAPI::Unit *  unit) const

Here is the caller graph for this function:

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)

Here is the caller graph for this function:

void InformationManager::onUnitDiscover ( BWAPI::Unit *  unit)

Here is the caller graph for this function:

void InformationManager::onUnitEvade ( BWAPI::Unit *  unit)

Here is the caller graph for this function:

void InformationManager::setBaseEmpty ( BWTA::BaseLocation *  base)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines