BWAPI
Public Member Functions | Public Attributes
Squad Class Reference

#include <Squad.h>

Collaboration diagram for Squad:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Squad (const UnitVector &units, SquadOrder order)
 Squad ()
 ~Squad ()
BWAPI::Position calcCenter ()
BWAPI::Position calcRegroupPosition ()
void clear ()
void update ()
void setUnits (const UnitVector &u)
UnitVectorgetUnits ()
SquadOrdergetSquadOrder ()
bool unitNearEnemy (BWAPI::Unit *unit)
bool needsToRegroup ()
BWAPI::UnitgetRegroupUnit ()
int squadUnitsNear (BWAPI::Position p)
BWAPI::UnitunitClosestToEnemy ()
void setSquadOrder (SquadOrder &so)

Public Attributes

int lastRegroup
SquadOrder order
ZealotManager zealotManager
DarkTemplarManager darkTemplarManager
DragoonManager dragoonManager
ObserverManager observerManager

Constructor & Destructor Documentation

Squad::Squad ( const UnitVector units,
SquadOrder  order 
)
Squad::Squad ( ) [inline]
Squad::~Squad ( ) [inline]

Member Function Documentation

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void Squad::clear ( )

Here is the caller graph for this function:

Here is the caller graph for this function:

UnitVector& Squad::getUnits ( ) [inline]

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:

void Squad::setUnits ( const UnitVector u) [inline]

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:

void Squad::update ( )

Here is the call graph for this function:


Member Data Documentation


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