BWAPI
|
#include <ChokeHarassSquad.h>
Public Member Functions | |
ChokeHarassSquad (int mId, string mName, int mMoveType, int mPriority) | |
bool | isActive () |
void | computeActions () |
void | setGoal (TilePosition mGoal) |
void | clearGoal () |
TilePosition | getGoal () |
bool | hasGoal () |
void | printInfo () |
This squad locates a chokepoint around the enemy base and guards it to prevent the enemy from expanding.
Author: Johan Hagelback (johan.hagelback@gmail.com)
ChokeHarassSquad::ChokeHarassSquad | ( | int | mId, |
string | mName, | ||
int | mMoveType, | ||
int | mPriority | ||
) |
void ChokeHarassSquad::clearGoal | ( | ) | [virtual] |
void ChokeHarassSquad::computeActions | ( | ) | [virtual] |
Called each update to issue orders.
Reimplemented from Squad.
TilePosition ChokeHarassSquad::getGoal | ( | ) | [virtual] |
bool ChokeHarassSquad::hasGoal | ( | ) | [virtual] |
Returns true if this squad has an assigned goal.
Reimplemented from Squad.
bool ChokeHarassSquad::isActive | ( | ) | [virtual] |
void ChokeHarassSquad::printInfo | ( | ) | [virtual] |
Prints some info about the squad.
Reimplemented from Squad.
void ChokeHarassSquad::setGoal | ( | TilePosition | mGoal | ) | [virtual] |