|
BWAPI
|
#include <ReaverAgent.h>


Public Member Functions | |
| ReaverAgent (Unit *mUnit) | |
| void | computeActions () |
| string | getTypeName () |
| void | setGoal (TilePosition goal) |
| void | clearGoal () |
The ReaverAgent handles Protoss Reaver units.
Implemented special abilities:
Author: Johan Hagelback (johan.hagelback@gmail.com)
| ReaverAgent::ReaverAgent | ( | Unit * | mUnit | ) |

| 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.
1.7.6.1