|
ProtoBot
|
Contains squad information such as its units, positions, and current state. More...
#include <Squad.h>
Public Attributes | |
| int | squadId |
| BWAPI::Color | squadColor |
| std::vector< BWAPI::Unit > | units |
| BWAPI::Position | commandPos |
| Initial position sent by StrategyManager. Used to compared against the current attacking, defending , and reinforcing positions to determine if the squad needs to update its position. ///<. | |
| BWAPI::Position | currentDefensivePosition |
| BWAPI::Position | currentReinforcePosition |
| BWAPI::Position | currentAttackPosition |
| BWAPI::Position | kitePos |
| Path | currentPath |
| int | currentPathIdx |
| SquadState * | currentState = nullptr |
| Contains current state of the squad (See SquadState). | |
Contains squad information such as its units, positions, and current state.
Used to get a squad's information.
|
inline |
Definition at line 34 of file Squad.h.
| BWAPI::Position SquadInfo::commandPos |
Initial position sent by StrategyManager. Used to compared against the current attacking, defending , and reinforcing positions to determine if the squad needs to update its position. ///<.
| SquadState* SquadInfo::currentState = nullptr |
Contains current state of the squad (See SquadState).