|
BWAPI
|
#include <ShuttleSquad.h>


Public Member Functions | |
| ShuttleSquad (int mId, string mName, int mPriority, bool mIsBaseHarass) | |
| bool | isActive () |
| void | computeActions () |
| void | setGoal (TilePosition mGoal) |
| void | clearGoal () |
| TilePosition | getGoal () |
| bool | hasGoal () |
| void | printInfo () |
This is a special squad used to handle Protoss Shuttles carrying and dropping off Reavers.
Author: Johan Hagelback (johan.hagelback@gmail.com)
| ShuttleSquad::ShuttleSquad | ( | int | mId, |
| string | mName, | ||
| int | mPriority, | ||
| bool | mIsBaseHarass | ||
| ) |
Creates a Shuttle squad with a unique id and a name (for example AirAttackSquad, MainGroundSquad).
| void ShuttleSquad::clearGoal | ( | ) | [virtual] |
| void ShuttleSquad::computeActions | ( | ) | [virtual] |
Called each update to issue orders.
Reimplemented from Squad.

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

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

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