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

#include <Micro.h>

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

List of all members.

Public Member Functions

void update ()
void onUnitCreate (BWAPI::Unit *unit)
void onUnitShow (BWAPI::Unit *unit)
void onUnitDestroy (BWAPI::Unit *unit)
void onUnitRenegade (BWAPI::Unit *unit)
void onNukeDetect (BWAPI::Position target)
BWAPI::Position getDefensePosition () const

Public Attributes

GoalManagergoalManager
std::set< BWTA::Chokepoint * > ourChokes
BWTA::Chokepoint * frontChoke
std::set< BWTA::BaseLocation * > needDefense
int drops

Friends

class CSingleton< Micro >

Member Function Documentation

BWAPI::Position Micro::getDefensePosition ( ) const

Here is the call graph for this function:

void Micro::onNukeDetect ( BWAPI::Position  target)

Here is the call graph for this function:

void Micro::onUnitCreate ( BWAPI::Unit *  unit)

Here is the call graph for this function:

void Micro::onUnitDestroy ( BWAPI::Unit *  unit)

Here is the call graph for this function:

void Micro::onUnitRenegade ( BWAPI::Unit *  unit)

Here is the call graph for this function:

void Micro::onUnitShow ( BWAPI::Unit *  unit)
void Micro::update ( )

Launch the first push as soon as we have 2 dragoons and we know where the enemy is

Launch the first drop as soon as we have 1 shuttle and 1 reaver

See if we have to defend somewhere

Look if we can push (again)

Here is the call graph for this function:


Friends And Related Function Documentation

friend class CSingleton< Micro > [friend]

Member Data Documentation

BWTA::Chokepoint* Micro::frontChoke
std::set<BWTA::BaseLocation*> Micro::needDefense
std::set<BWTA::Chokepoint*> Micro::ourChokes

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