BWAPI
Public Member Functions | Public Attributes | Friends
Intelligence Class Reference

#include <Intelligence.h>

Inheritance diagram for Intelligence:
Inheritance graph
[legend]
Collaboration diagram for Intelligence:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void update ()
void onUnitCreate (BWAPI::Unit *u)
void onUnitDestroy (BWAPI::Unit *u)
void onUnitShow (BWAPI::Unit *u)
void onUnitHide (BWAPI::Unit *u)
void onUnitMorph (BWAPI::Unit *u)
void onUnitRenegade (BWAPI::Unit *u)

Public Attributes

std::set< BWTA::Region * > currentlyExploring
EUnitsFiltereUnitsFilter
int closestOnPath
MapManagermapManager
bool enemyRush
BWAPI::Race enemyRace
BWTA::BaseLocation * enemyHome
std::map< double,
BWTA::BaseLocation * > 
enemyBasesOrder

Friends

class CSingleton< Intelligence >

Member Function Documentation

void Intelligence::onUnitCreate ( BWAPI::Unit *  u)

Here is the call graph for this function:

void Intelligence::onUnitDestroy ( BWAPI::Unit *  u)

Here is the call graph for this function:

void Intelligence::onUnitHide ( BWAPI::Unit *  u)

Here is the call graph for this function:

void Intelligence::onUnitMorph ( BWAPI::Unit *  u)

Here is the call graph for this function:

void Intelligence::onUnitRenegade ( BWAPI::Unit *  u)

Here is the call graph for this function:

void Intelligence::onUnitShow ( BWAPI::Unit *  u)

Here is the call graph for this function:

Initialize the enemy's bases order if we know where he is (_enemyBasesOrder should never be empty again, or else there is something really wrong)

Scout bases if we think they have a hidden one

Here is the call graph for this function:


Friends And Related Function Documentation

friend class CSingleton< Intelligence > [friend]

Member Data Documentation

std::set<BWTA::Region*> Intelligence::currentlyExploring
std::map<double, BWTA::BaseLocation*> Intelligence::enemyBasesOrder
BWTA::BaseLocation* Intelligence::enemyHome

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