BWAPI
Public Member Functions | Static Public Member Functions | Public Attributes
UnitInfoState Class Reference

#include <UnitInfoState.h>

List of all members.

Public Member Functions

void update ()
void onStart ()
void onUnitShow (BWAPI::Unit *unit)
void onUnitHide (BWAPI::Unit *unit)
void onUnitCreate (BWAPI::Unit *unit)
void onUnitMorph (BWAPI::Unit *unit)
void onUnitRenegade (BWAPI::Unit *unit)
void onUnitDestroy (BWAPI::Unit *unit)
bool positionInRangeOfEnemyDetector (BWAPI::Position p)
bool enemyFlyerThreat ()
bool isEnemyBuildingInRegion (BWTA::Region *region)
int getNumUnits (BWAPI::UnitType type, BWAPI::Player *player)
int getNumDeadUnits (BWAPI::UnitType type, BWAPI::Player *player)
int getNumTotalDeadUnits (BWAPI::Player *player)
int knownForceSize (BWAPI::Player *player)
int visibleForceSize (BWAPI::Player *player)
int numEnemyUnitsInRegion (BWTA::Region *region)
int numEnemyFlyingUnitsInRegion (BWTA::Region *region)
int nearbyForceSize (BWAPI::Position p, BWAPI::Player *player, int radius)
bool nearbyForceHasCloaked (BWAPI::Position p, BWAPI::Player *player, int radius)
bool canWinNearby (BWAPI::Position p)
std::pair< double, double > nearbyCombatInfo (BWAPI::Position p, BWAPI::Player *player)
double getDPS (BWAPI::UnitType type)
UnitInfoVectorgetEnemyDetectors ()
UnitInfoVectorgetKnownUnitInfo (BWAPI::UnitType type, BWAPI::Player *player)
UnitInfoVectorgetAllUnits (BWAPI::Player *player)
BaseInfoVectorgetAllBases ()
BWAPI::UnitgetClosestUnitToTarget (BWAPI::UnitType type, BWAPI::Position target)
std::set< BWTA::Region * > & getOccupiedRegions (BWAPI::Player *player)
BWTA::BaseLocationgetMainBaseLocation (BWAPI::Player *player)
bool enemyHasCloakedUnits ()
void drawUnitInformation (int x, int y)

Static Public Member Functions

static UnitInfoStategetInstance ()

Public Attributes

bool goForIt

Member Function Documentation

void UnitInfoState::drawUnitInformation ( int  x,
int  y 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

std::pair<double, double> UnitInfoState::nearbyCombatInfo ( BWAPI::Position  p,
BWAPI::Player player 
)
bool UnitInfoState::nearbyForceHasCloaked ( BWAPI::Position  p,
BWAPI::Player player,
int  radius 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int UnitInfoState::nearbyForceSize ( BWAPI::Position  p,
BWAPI::Player player,
int  radius 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

void UnitInfoState::onUnitCreate ( BWAPI::Unit unit) [inline]

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void UnitInfoState::onUnitHide ( BWAPI::Unit unit) [inline]

Here is the caller graph for this function:

void UnitInfoState::onUnitMorph ( BWAPI::Unit unit) [inline]

Here is the caller graph for this function:

void UnitInfoState::onUnitRenegade ( BWAPI::Unit unit) [inline]

Here is the caller graph for this function:

void UnitInfoState::onUnitShow ( BWAPI::Unit unit) [inline]

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


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