BTHAI 2.3
Public Member Functions | Static Public Member Functions
MedicAgent Class Reference

#include <MedicAgent.h>

Inheritance diagram for MedicAgent:
UnitAgent BaseAgent

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)


Member Function Documentation

void MedicAgent::computeActions ( ) [virtual]

Called each update to issue orders.

Reimplemented from UnitAgent.

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables