BWAPI
|
#include <KiteSquad.h>
Public Member Functions | |
KiteSquad (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 is the same as RushSquad, except that agents kite enemy units once they have been attacked.
Author: Johan Hagelback (johan.hagelback@gmail.com)
KiteSquad::KiteSquad | ( | int | mId, |
string | mName, | ||
int | mMoveType, | ||
int | mPriority | ||
) |
void KiteSquad::clearGoal | ( | ) | [virtual] |
void KiteSquad::computeActions | ( | ) | [virtual] |
Called each update to issue orders.
Reimplemented from Squad.
TilePosition KiteSquad::getGoal | ( | ) | [virtual] |
bool KiteSquad::hasGoal | ( | ) | [virtual] |
Returns true if this squad has an assigned goal.
Reimplemented from Squad.
bool KiteSquad::isActive | ( | ) | [virtual] |
void KiteSquad::printInfo | ( | ) | [virtual] |
Prints some info about the squad.
Reimplemented from Squad.
void KiteSquad::setGoal | ( | TilePosition | mGoal | ) | [virtual] |