![]() |
BTHAI 2.3
|
#include <MarineAgent.h>
Public Member Functions | |
| MarineAgent (Unit *mUnit) | |
| void | computeActions () |
| string | getTypeName () |
| bool | isBunkered () |
| void | assignToBunkerDefend (Unit *bunker) |
The MarineAgent handles Terran Marine units.
Implemented special abilities:
Author: Johan Hagelback (johan.hagelback@gmail.com)
| void MarineAgent::assignToBunkerDefend | ( | Unit * | bunker | ) |
Assigns this unit to defend from a Bunker.
| void MarineAgent::computeActions | ( | ) | [virtual] |
Called each update to issue orders.
Reimplemented from UnitAgent.
| string MarineAgent::getTypeName | ( | ) | [virtual] |
Returns the unique type name for unit agents.
Reimplemented from UnitAgent.
| bool MarineAgent::isBunkered | ( | ) |
Returns true if this unit is assigned to a Bunker.
Reimplemented from UnitAgent.
1.7.4