BWAPI
Public Member Functions | Protected Member Functions | Protected Attributes
MicroManager Class Reference

#include <MicroManager.h>

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

List of all members.

Public Member Functions

 MicroManager ()
virtual ~MicroManager ()
const UnitVectorgetUnits () const
BWAPI::Position calcCenter () const
void setUnits (const UnitVector &units)
void execute (const SquadOrder &order, BWAPI::Position regroup)

Protected Member Functions

virtual void executeMicro (const UnitVector &targets, BWAPI::Position regroup=BWAPI::Position(0, 0))
virtual void harassMove (BWAPI::Unit *muta, BWAPI::Position location)
bool checkPositionWalkable (BWAPI::Position pos)
void drawOrderText ()
void smartAttackUnit (BWAPI::Unit *attacker, BWAPI::Unit *target)
void smartAttackMove (BWAPI::Unit *attacker, BWAPI::Position targetPosition)
void smartMove (BWAPI::Unit *attacker, BWAPI::Position targetPosition)
bool unitNearEnemy (BWAPI::Unit *unit)
bool unitNearChokepoint (BWAPI::Unit *unit) const

Protected Attributes

bool drawDebugVectors
SquadOrder order

Constructor & Destructor Documentation

virtual MicroManager::~MicroManager ( ) [inline, virtual]

Member Function Documentation

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:

void MicroManager::drawOrderText ( ) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

void MicroManager::execute ( const SquadOrder order,
BWAPI::Position  regroup 
)

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void MicroManager::executeMicro ( const UnitVector targets,
BWAPI::Position  regroup = BWAPI::Position(0,0) 
) [inline, protected, virtual]

Reimplemented in DarkTemplarManager, DragoonManager, ZealotManager, and ObserverManager.

Here is the caller graph for this function:

const UnitVector& MicroManager::getUnits ( ) const [inline]

Here is the caller graph for this function:

virtual void MicroManager::harassMove ( BWAPI::Unit muta,
BWAPI::Position  location 
) [inline, protected, virtual]
void MicroManager::setUnits ( const UnitVector units) [inline]
void MicroManager::smartAttackMove ( BWAPI::Unit attacker,
BWAPI::Position  targetPosition 
) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

void MicroManager::smartAttackUnit ( BWAPI::Unit attacker,
BWAPI::Unit target 
) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

void MicroManager::smartMove ( BWAPI::Unit attacker,
BWAPI::Position  targetPosition 
) [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

bool MicroManager::unitNearChokepoint ( BWAPI::Unit unit) const [protected]

Here is the call graph for this function:

Here is the caller graph for this function:

bool MicroManager::unitNearEnemy ( BWAPI::Unit unit) [protected]

Here is the call graph for this function:

Here is the caller 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