BWAPI
Public Member Functions
Squad Class Reference

#include <Squad.h>

List of all members.

Public Member Functions

 Squad (std::string name, int s)
 Squad (std::string name, std::vector< Unit * > units, int s)
void addUnit (Unit *u)
void forceUnit (Unit *u)
std::vector< Unit * > getUnits ()
std::string name ()
UnitgetUnitAt (int x)
void removeUnitAt (unsigned int u)
void removeUnit (Unit *u)
bool containsUnit (Unit *u)
std::vector< Unit * > getLivingUnits ()
void alertTacticsImplementation (Unit *u)
TacticsImplementationgetTacticsImplementation ()
void attachTacticsImplementation (TacticsImplementation *t)
Position getMostCentralElement (Unit *u)
Position getMostCentralElement ()
bool canMaintainCentralPosition (Unit *u)
bool allMembersInPosition ()

Constructor & Destructor Documentation

Squad::Squad ( std::string  name,
int  s 
)
Squad::Squad ( std::string  name,
std::vector< Unit * >  units,
int  s 
)

Member Function Documentation

void Squad::addUnit ( Unit u)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

bool Squad::containsUnit ( Unit u)

Here is the caller graph for this function:

void Squad::forceUnit ( Unit u)

Here is the call graph for this function:

Here is the caller graph for this function:

std::vector< Unit * > Squad::getLivingUnits ( )

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Unit * Squad::getUnitAt ( int  x)

Here is the caller graph for this function:

std::vector< Unit * > Squad::getUnits ( )

Here is the caller graph for this function:

std::string Squad::name ( )
void Squad::removeUnit ( Unit u)

Here is the caller graph for this function:

void Squad::removeUnitAt ( unsigned int  u)

Here is the call graph for this function:

Here is the caller graph for this function:


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