|
BWAPI
|
#include <Squad.h>
Public Member Functions | |
| Squad (std::string name, int s) | |
| Squad (std::string name, std::vector< Unit * > units, int s) | |
| void | addUnit (Unit *u) |
| void | forceUnit (Unit *u) |
| std::vector< Unit * > | getUnits () |
| std::string | name () |
| Unit * | getUnitAt (int x) |
| void | removeUnitAt (unsigned int u) |
| void | removeUnit (Unit *u) |
| bool | containsUnit (Unit *u) |
| std::vector< Unit * > | getLivingUnits () |
| void | alertTacticsImplementation (Unit *u) |
| TacticsImplementation * | getTacticsImplementation () |
| void | attachTacticsImplementation (TacticsImplementation *t) |
| Position | getMostCentralElement (Unit *u) |
| Position | getMostCentralElement () |
| bool | canMaintainCentralPosition (Unit *u) |
| bool | allMembersInPosition () |
| Squad::Squad | ( | std::string | name, |
| int | s | ||
| ) |
| Squad::Squad | ( | std::string | name, |
| std::vector< Unit * > | units, | ||
| int | s | ||
| ) |
| void Squad::addUnit | ( | Unit * | u | ) |


| void Squad::alertTacticsImplementation | ( | Unit * | u | ) |


| bool Squad::allMembersInPosition | ( | ) |


| bool Squad::canMaintainCentralPosition | ( | Unit * | u | ) |


| bool Squad::containsUnit | ( | Unit * | u | ) |

| void Squad::forceUnit | ( | Unit * | u | ) |


| std::vector< Unit * > Squad::getLivingUnits | ( | ) |






| Unit * Squad::getUnitAt | ( | int | x | ) |

| std::vector< Unit * > Squad::getUnits | ( | ) |

| std::string Squad::name | ( | ) |
| void Squad::removeUnit | ( | Unit * | u | ) |

| void Squad::removeUnitAt | ( | unsigned int | u | ) |


1.7.6.1