BTHAI 2.3
Public Member Functions
ReaverAgent Class Reference

#include <ReaverAgent.h>

Inheritance diagram for ReaverAgent:
UnitAgent BaseAgent

List of all members.

Public Member Functions

 ReaverAgent (Unit *mUnit)
void computeActions ()
string getTypeName ()
void setGoal (TilePosition goal)
void clearGoal ()

Detailed Description

The ReaverAgent handles Protoss Reaver units.

Implemented special abilities:

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


Member Function Documentation

void ReaverAgent::clearGoal ( ) [virtual]

Clears the goal for this unit. Note that Reavers are so slow, so they are always used in defense.

Reimplemented from UnitAgent.

void ReaverAgent::computeActions ( ) [virtual]

Called each update to issue orders.

Reimplemented from UnitAgent.

string ReaverAgent::getTypeName ( ) [virtual]

Returns the unique type name for unit agents.

Reimplemented from UnitAgent.

void ReaverAgent::setGoal ( TilePosition  goal) [virtual]

Sets the goal for this unit. Note that Reavers are so slow, so they are always used in defense.

Reimplemented from UnitAgent.


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