BWAPI
Public Member Functions | Static Public Member Functions
MedicAgent Class Reference

#include <MedicAgent.h>

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

List of all members.

Public Member Functions

 MedicAgent (Unit *mUnit)
void computeActions ()
string getTypeName ()

Static Public Member Functions

static bool isMedicTarget (Unit *mUnit)

Detailed Description

The MedicAgent handles Terran Medics.

Implemented special abilities:

Author: Johan Hagelback (johan.hagelback@gmail.com)


Constructor & Destructor Documentation

Here is the call graph for this function:


Member Function Documentation

void MedicAgent::computeActions ( ) [virtual]

Called each update to issue orders.

Reimplemented from UnitAgent.

Here is the call graph for this function:

string MedicAgent::getTypeName ( ) [virtual]

Returns the unique type name for unit agents.

Reimplemented from UnitAgent.

bool MedicAgent::isMedicTarget ( Unit mUnit) [static]

Returns true if the specified own unit is a good target for the medic to follow and heal. Good targets must be biological, must be in the attack force, and must not be loaded into a building or transport.

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