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