|
BWAPI
|
#include <RushSquad.h>


Public Member Functions | |
| RushSquad (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 rushes to each start location until the enemy has been located.
Author: Johan Hagelback (johan.hagelback@gmail.com)
| RushSquad::RushSquad | ( | int | mId, |
| string | mName, | ||
| int | mMoveType, | ||
| int | mPriority | ||
| ) |
| void RushSquad::clearGoal | ( | ) | [virtual] |
| void RushSquad::computeActions | ( | ) | [virtual] |
Called each update to issue orders.
Reimplemented from Squad.

| TilePosition RushSquad::getGoal | ( | ) | [virtual] |
| bool RushSquad::hasGoal | ( | ) | [virtual] |
Returns true if this squad has an assigned goal.
Reimplemented from Squad.

| bool RushSquad::isActive | ( | ) | [virtual] |
| void RushSquad::printInfo | ( | ) | [virtual] |
Prints some info about the squad.
Reimplemented from Squad.

| void RushSquad::setGoal | ( | TilePosition | mGoal | ) | [virtual] |
1.7.6.1