BWAPI
|
#include <SeeSubgoal.h>
Public Member Functions | |
SeeSubgoal (SubgoalLogic l, UnitsGroup *ug, BWAPI::Position pos) | |
SeeSubgoal (const SeeSubgoal &ssg) | |
bool | isRealized () |
void | tryToRealize () |
double | distanceToRealize () |
virtual double | distanceToRealize (BWAPI::Position) |
Protected Attributes | |
BWAPI::Position | _pos |
bool | _achieved |
SeeSubgoal::SeeSubgoal | ( | SubgoalLogic | l, |
UnitsGroup * | ug, | ||
BWAPI::Position | pos | ||
) |
SeeSubgoal::SeeSubgoal | ( | const SeeSubgoal & | ssg | ) |
double SeeSubgoal::distanceToRealize | ( | ) | [virtual] |
double SeeSubgoal::distanceToRealize | ( | BWAPI::Position | p | ) | [virtual] |
Does not use pathfinding and so is not very precise
bool SeeSubgoal::isRealized | ( | ) | [virtual] |
Implements Subgoal.
void SeeSubgoal::tryToRealize | ( | ) | [virtual] |
bool SeeSubgoal::_achieved [protected] |
BWAPI::Position SeeSubgoal::_pos [protected] |