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

#include <MoveCommandTask.h>

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

List of all members.

Public Member Functions

 MoveCommandTask (TilePosition pos, Environment *env)
virtual ~MoveCommandTask (void)
virtual void calculatePriority ()
double evaluateAptitude (Agent *agent)
void evaluateStatus ()
void evaluateNeededUnits ()
TilePosition getBuildingPosition ()
UnitType getBuildingType ()
bool execute (Agent *agent)

Static Public Member Functions

static void generateNecessaryTasks (Environment *env)

Protected Attributes

UnitType _buildingType
TilePosition _buildingPos
Position _targetPosition
BuildingSpaceInfo_plannedBuilding

Constructor & Destructor Documentation

MoveCommandTask::MoveCommandTask ( TilePosition  pos,
Environment env 
)

Here is the call graph for this function:

Here is the caller graph for this function:

MoveCommandTask::~MoveCommandTask ( void  ) [virtual]

Here is the call graph for this function:


Member Function Documentation

Implements Task.

Here is the call graph for this function:

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

Implements Task.

Here is the call graph for this function:

Implements Task.

void MoveCommandTask::evaluateStatus ( ) [virtual]

Implements Task.

Here is the call graph for this function:

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

Implements Task.

Here is the call graph for this function:

Here is the call graph for this function:


Member Data Documentation

TilePosition MoveCommandTask::_buildingPos [protected]
UnitType MoveCommandTask::_buildingType [protected]
Position MoveCommandTask::_targetPosition [protected]

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