BWAPI
Public Member Functions | Static Public Member Functions | Protected Attributes
AttackUnitTask Class Reference

#include <AttackUnitTask.h>

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

List of all members.

Public Member Functions

 AttackUnitTask (Unit *target, Environment *env)
virtual ~AttackUnitTask (void)
Unit * getTarget ()
virtual void addAgent (Agent *agent)
virtual void removeAgent (Agent *agent)
virtual double evaluateAptitude (Agent *agent)
virtual void evaluateStatus ()
virtual void calculatePriority ()
virtual void evaluateNeededUnits ()
virtual bool execute (Agent *agent)

Static Public Member Functions

static void generateNecessaryTasks (Environment *env)

Protected Attributes

Unit * _target
double _minAptitude

Constructor & Destructor Documentation

AttackUnitTask::AttackUnitTask ( Unit *  target,
Environment env 
)

Here is the call graph for this function:

Here is the caller graph for this function:

AttackUnitTask::~AttackUnitTask ( void  ) [virtual]

Here is the call graph for this function:


Member Function Documentation

void AttackUnitTask::addAgent ( Agent agent) [virtual]

Reimplemented from Task.

Here is the call graph for this function:

Implements Task.

Here is the call graph for this function:

double AttackUnitTask::evaluateAptitude ( Agent agent) [virtual]

Implements Task.

Here is the call graph for this function:

Implements Task.

void AttackUnitTask::evaluateStatus ( ) [virtual]

Implements Task.

Here is the call graph for this function:

bool AttackUnitTask::execute ( Agent agent) [virtual]

Implements Task.

Here is the call graph for this function:

Here is the call graph for this function:

void AttackUnitTask::removeAgent ( Agent agent) [virtual]

Reimplemented from Task.

Here is the call graph for this function:


Member Data Documentation

double AttackUnitTask::_minAptitude [protected]
Unit* AttackUnitTask::_target [protected]

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