BWAPI
|
#include <AttackGoal.h>
Public Member Functions | |
AttackGoal (const std::map< BWAPI::UnitType, int > &miniUnits, BWAPI::Position p, int priority=50, int firstFrame=0) | |
AttackGoal (BWAPI::Position p, int priority=50, int firstFrame=0) | |
AttackGoal (pSubgoal subgoal, int priority=50, int firstFrame=0) | |
virtual | ~AttackGoal () |
void | achieve () |
std::string | getName () |
std::string | getShortName () |
void | abort () |
RegroupGoal at the closest, backing point on the path from home to enemy's. |
AttackGoal::AttackGoal | ( | const std::map< BWAPI::UnitType, int > & | miniUnits, |
BWAPI::Position | p, | ||
int | priority = 50 , |
||
int | firstFrame = 0 |
||
) |
AttackGoal::AttackGoal | ( | BWAPI::Position | p, |
int | priority = 50 , |
||
int | firstFrame = 0 |
||
) |
AttackGoal::AttackGoal | ( | pSubgoal | subgoal, |
int | priority = 50 , |
||
int | firstFrame = 0 |
||
) |
AttackGoal::~AttackGoal | ( | ) | [virtual] |
void AttackGoal::abort | ( | ) |
RegroupGoal at the closest, backing point on the path from home to enemy's.
void AttackGoal::achieve | ( | ) | [virtual] |
Cancel if we are getting pwned
Regroup
And go!
Reimplemented from Goal.
std::string AttackGoal::getName | ( | ) |
std::string AttackGoal::getShortName | ( | ) |