BWAPI
Public Member Functions
ReaverAgent Class Reference

#include <ReaverAgent.h>

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

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)


Constructor & Destructor Documentation

Here is the call graph for this function:


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.

Here is the call graph for this function:

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 Namespaces Files Functions Variables Enumerations Enumerator Defines