BWAPI
Public Member Functions
DefendGoal Class Reference

#include <DefendGoal.h>

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

List of all members.

Public Member Functions

 DefendGoal (BWTA::Chokepoint *c, int priority=80, int firstFrame=0)
 DefendGoal (BWTA::BaseLocation *b, int priority=80, int firstFrame=0)
 DefendGoal (BWAPI::Position p, int priority=80, int firstFrame=0)
virtual void achieve ()
virtual void check ()
virtual void onOffer (std::set< BWAPI::Unit * > objects)
 Controller methods.
virtual void onRevoke (BWAPI::Unit *u, double bid)
virtual void onUnitDestroy (BWAPI::Unit *unit)
virtual std::string getName () const
virtual std::string getShortName () const
virtual void update ()

Constructor & Destructor Documentation

DefendGoal::DefendGoal ( BWTA::Chokepoint *  c,
int  priority = 80,
int  firstFrame = 0 
)
DefendGoal::DefendGoal ( BWTA::BaseLocation *  b,
int  priority = 80,
int  firstFrame = 0 
)
DefendGoal::DefendGoal ( BWAPI::Position  p,
int  priority = 80,
int  firstFrame = 0 
)

Member Function Documentation

void DefendGoal::achieve ( ) [virtual]

Reimplemented from Goal.

Here is the call graph for this function:

void DefendGoal::check ( ) [virtual]

Count how many probes we will be ok to bid and how much force we need

Reimplemented from Goal.

Here is the call graph for this function:

Here is the caller graph for this function:

std::string DefendGoal::getName ( ) const [virtual]

Reimplemented from Goal.

std::string DefendGoal::getShortName ( ) const [virtual]

Reimplemented from Goal.

void DefendGoal::onOffer ( std::set< BWAPI::Unit * >  objects) [virtual]

Controller methods.

Reimplemented from Goal.

Here is the call graph for this function:

void DefendGoal::onRevoke ( BWAPI::Unit *  u,
double  bid 
) [virtual]

Reimplemented from Goal.

Here is the call graph for this function:

void DefendGoal::onUnitDestroy ( BWAPI::Unit *  unit) [virtual]

Reimplemented from Goal.

Here is the call graph for this function:

Here is the caller graph for this function:

void DefendGoal::update ( ) [virtual]

Reimplemented from Goal.


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