BWAPI
Public Member Functions | Static Public Member Functions
UnitGroup Class Reference

#include <UnitGroup.h>

List of all members.

Public Member Functions

UnitGroup operator+ (const UnitGroup &other) const
UnitGroup operator* (const UnitGroup &other) const
UnitGroup operator^ (const UnitGroup &other) const
UnitGroup operator- (const UnitGroup &other) const
UnitGroup inRadius (double radius, BWAPI::Position position) const
UnitGroup inRegion (BWTA::Region *region) const
UnitGroup onlyNearestChokepoint (BWTA::Chokepoint *choke) const
UnitGroup onlyNearestBaseLocation (BWTA::BaseLocation *location) const
UnitGroup onlyNearestUnwalkablePolygon (BWTA::Polygon *polygon) const
UnitGroup operator() (int f1) const
UnitGroup operator() (int f1, int f2) const
UnitGroup operator() (int f1, int f2, int f3) const
UnitGroup operator() (int f1, int f2, int f3, int f4) const
UnitGroup operator() (int f1, int f2, int f3, int f4, int f5) const
UnitGroup operator() (FliterAttributeScalar a, const char *compare, double value) const
UnitGroup operator() (FliterAttributeScalar a, const char *compare, int value) const
UnitGroup operator() (BWAPI::Player *player) const
UnitGroup operator() (FilterAttributeUnit a, BWAPI::Unit *unit) const
UnitGroup operator() (FilterAttributeType a, BWAPI::UnitType type) const
UnitGroup operator() (FilterAttributeType a, BWAPI::TechType type) const
UnitGroup operator() (FilterAttributeType a, BWAPI::UpgradeType type) const
UnitGroup operator() (FilterAttributeOrder a, BWAPI::Order type) const
UnitGroup operator() (FilterAttributePosition a, BWAPI::Position position) const
UnitGroup operator() (FilterAttributeTilePosition a, BWAPI::TilePosition position) const
UnitGroup not (int f1) const
UnitGroup not (int f1, int f2) const
UnitGroup not (int f1, int f2, int f3) const
UnitGroup not (int f1, int f2, int f3, int f4) const
UnitGroup not (int f1, int f2, int f3, int f4, int f5) const
UnitGroup not (FliterAttributeScalar a, const char *compare, double value) const
UnitGroup not (FliterAttributeScalar a, const char *compare, int value) const
UnitGroup not (BWAPI::Player *player) const
UnitGroup not (FilterAttributeUnit a, BWAPI::Unit *unit) const
UnitGroup not (FilterAttributeType a, BWAPI::UnitType type) const
UnitGroup not (FilterAttributeType a, BWAPI::TechType type) const
UnitGroup not (FilterAttributeType a, BWAPI::UpgradeType type) const
UnitGroup not (FilterAttributeOrder a, BWAPI::Order type) const
UnitGroup not (FilterAttributePosition a, BWAPI::Position position) const
UnitGroup not (FilterAttributeTilePosition a, BWAPI::TilePosition position) const
UnitGroupoperator+= (const UnitGroup &other)
UnitGroupoperator*= (const UnitGroup &other)
UnitGroupoperator^= (const UnitGroup &other)
UnitGroupoperator-= (const UnitGroup &other)
BWAPI::UnitgetNearest (BWAPI::Position position) const
bool contains (BWAPI::Unit *u) const
BWAPI::Position getCenter () const
bool attack (BWAPI::Position position, bool enqueue=false) const
bool attack (BWAPI::Unit *target, bool enqueue=false) const
bool rightClick (BWAPI::Position position) const
bool rightClick (BWAPI::Unit *target) const
bool train (BWAPI::UnitType type) const
bool build (BWAPI::TilePosition position, BWAPI::UnitType type) const
bool buildAddon (BWAPI::UnitType type) const
bool research (BWAPI::TechType tech) const
bool upgrade (BWAPI::UpgradeType upgrade) const
bool stop () const
bool holdPosition () const
bool patrol (BWAPI::Position position) const
bool follow (BWAPI::Unit *target) const
bool setRallyPoint (BWAPI::Position target) const
bool setRallyPoint (BWAPI::Unit *target) const
bool repair (BWAPI::Unit *target) const
bool morph (BWAPI::UnitType type) const
bool burrow () const
bool unburrow () const
bool siege () const
bool unsiege () const
bool cloak () const
bool decloak () const
bool lift () const
bool land (BWAPI::TilePosition position) const
bool load (BWAPI::Unit *target) const
bool unload (BWAPI::Unit *target) const
bool unloadAll () const
bool unloadAll (BWAPI::Position position) const
bool cancelConstruction () const
bool haltConstruction () const
bool cancelMorph () const
bool cancelTrain () const
bool cancelTrain (int slot) const
bool cancelAddon () const
bool cancelResearch () const
bool cancelUpgrade () const
bool useTech (BWAPI::TechType tech) const
bool useTech (BWAPI::TechType tech, BWAPI::Position position) const
bool useTech (BWAPI::TechType tech, BWAPI::Unit *target) const

Static Public Member Functions

static UnitGroup getUnitGroup (const std::set< BWAPI::Unit * > units)

Member Function Documentation

bool UnitGroup::attack ( BWAPI::Position  position,
bool  enqueue = false 
) const
bool UnitGroup::attack ( BWAPI::Unit target,
bool  enqueue = false 
) const
bool UnitGroup::build ( BWAPI::TilePosition  position,
BWAPI::UnitType  type 
) const
bool UnitGroup::buildAddon ( BWAPI::UnitType  type) const
bool UnitGroup::burrow ( ) const
bool UnitGroup::cancelAddon ( ) const
bool UnitGroup::cancelMorph ( ) const
bool UnitGroup::cancelResearch ( ) const
bool UnitGroup::cancelTrain ( ) const
bool UnitGroup::cancelTrain ( int  slot) const
bool UnitGroup::cancelUpgrade ( ) const
bool UnitGroup::cloak ( ) const
bool UnitGroup::contains ( BWAPI::Unit u) const

Here is the caller graph for this function:

bool UnitGroup::decloak ( ) const
bool UnitGroup::follow ( BWAPI::Unit target) const

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

static UnitGroup UnitGroup::getUnitGroup ( const std::set< BWAPI::Unit * >  units) [inline, static]

Here is the caller graph for this function:

bool UnitGroup::holdPosition ( ) const
UnitGroup UnitGroup::inRadius ( double  radius,
BWAPI::Position  position 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

bool UnitGroup::land ( BWAPI::TilePosition  position) const
bool UnitGroup::lift ( ) const
bool UnitGroup::load ( BWAPI::Unit target) const
bool UnitGroup::morph ( BWAPI::UnitType  type) const
UnitGroup UnitGroup::not ( int  f1) const

Here is the call graph for this function:

Here is the caller graph for this function:

UnitGroup UnitGroup::not ( int  f1,
int  f2 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::not ( int  f1,
int  f2,
int  f3 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::not ( int  f1,
int  f2,
int  f3,
int  f4 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::not ( int  f1,
int  f2,
int  f3,
int  f4,
int  f5 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::not ( FliterAttributeScalar  a,
const char *  compare,
double  value 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::not ( FliterAttributeScalar  a,
const char *  compare,
int  value 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::not ( BWAPI::Player player) const

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( int  f1) const

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( int  f1,
int  f2 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( int  f1,
int  f2,
int  f3 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( int  f1,
int  f2,
int  f3,
int  f4 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( int  f1,
int  f2,
int  f3,
int  f4,
int  f5 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( FliterAttributeScalar  a,
const char *  compare,
double  value 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( FliterAttributeScalar  a,
const char *  compare,
int  value 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( BWAPI::Player player) const
UnitGroup UnitGroup::operator() ( FilterAttributeUnit  a,
BWAPI::Unit unit 
) const

Here is the call graph for this function:

UnitGroup UnitGroup::operator() ( FilterAttributeType  a,
BWAPI::UnitType  type 
) const
UnitGroup UnitGroup::operator() ( FilterAttributeType  a,
BWAPI::TechType  type 
) const
UnitGroup UnitGroup::operator() ( FilterAttributeType  a,
BWAPI::UpgradeType  type 
) const
UnitGroup UnitGroup::operator() ( FilterAttributeOrder  a,
BWAPI::Order  type 
) const
UnitGroup UnitGroup::operator() ( FilterAttributePosition  a,
BWAPI::Position  position 
) const
UnitGroup UnitGroup::operator() ( FilterAttributeTilePosition  a,
BWAPI::TilePosition  position 
) const
UnitGroup UnitGroup::operator* ( const UnitGroup other) const
UnitGroup & UnitGroup::operator*= ( const UnitGroup other)

Here is the call graph for this function:

UnitGroup UnitGroup::operator+ ( const UnitGroup other) const
UnitGroup & UnitGroup::operator+= ( const UnitGroup other)
UnitGroup UnitGroup::operator- ( const UnitGroup other) const
UnitGroup & UnitGroup::operator-= ( const UnitGroup other)
UnitGroup UnitGroup::operator^ ( const UnitGroup other) const
UnitGroup & UnitGroup::operator^= ( const UnitGroup other)
bool UnitGroup::patrol ( BWAPI::Position  position) const
bool UnitGroup::repair ( BWAPI::Unit target) const
bool UnitGroup::research ( BWAPI::TechType  tech) const
bool UnitGroup::rightClick ( BWAPI::Position  position) const
bool UnitGroup::rightClick ( BWAPI::Unit target) const
bool UnitGroup::setRallyPoint ( BWAPI::Position  target) const
bool UnitGroup::setRallyPoint ( BWAPI::Unit target) const
bool UnitGroup::siege ( ) const
bool UnitGroup::stop ( ) const
bool UnitGroup::train ( BWAPI::UnitType  type) const

Here is the caller graph for this function:

bool UnitGroup::unburrow ( ) const
bool UnitGroup::unload ( BWAPI::Unit target) const
bool UnitGroup::unloadAll ( ) const
bool UnitGroup::unloadAll ( BWAPI::Position  position) const
bool UnitGroup::unsiege ( ) const
bool UnitGroup::upgrade ( BWAPI::UpgradeType  upgrade) const
bool UnitGroup::useTech ( BWAPI::TechType  tech) const

Here is the caller graph for this function:

bool UnitGroup::useTech ( BWAPI::TechType  tech,
BWAPI::Position  position 
) const
bool UnitGroup::useTech ( BWAPI::TechType  tech,
BWAPI::Unit target 
) const

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