BWAPI
Public Member Functions
DropGoal Class Reference

#include <DropGoal.h>

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

List of all members.

Public Member Functions

 DropGoal (BWTA::BaseLocation *b, const std::map< BWAPI::UnitType, int > &nU, int priority=96)
 DropGoal (BWAPI::Position p, const std::map< BWAPI::UnitType, int > &nU, int priority=96)
virtual ~DropGoal ()
void achieve ()
virtual void onOffer (std::set< Unit * > objects)

Constructor & Destructor Documentation

DropGoal::DropGoal ( BWTA::BaseLocation *  b,
const std::map< BWAPI::UnitType, int > &  nU,
int  priority = 96 
)

TODO Refactor this: instead of not using the units group, do a BasicUnitsGroup DropUnitsGroup : BasicUnitsGroup FightUnitsGroup : BasicUnitsGroup and have the a BasicUnitsGroup* in Goal to runtime dispatch the good update() instead of hacking in here (nonFlyers / switchMode(MODE_SCOUT)...)

Here is the call graph for this function:

DropGoal::DropGoal ( BWAPI::Position  p,
const std::map< BWAPI::UnitType, int > &  nU,
int  priority = 96 
)
DropGoal::~DropGoal ( ) [virtual]

Here is the call graph for this function:


Member Function Documentation

void DropGoal::achieve ( ) [virtual]

we go there

gogogo

Drop elsewhere

dropship

reaver

Reimplemented from Goal.

Here is the call graph for this function:

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

Here is the call graph for this function:


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