BWAPI
Public Member Functions | Protected Attributes
SeeSubgoal Class Reference

#include <SeeSubgoal.h>

Inheritance diagram for SeeSubgoal:
Inheritance graph
[legend]
Collaboration diagram for SeeSubgoal:
Collaboration graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

SeeSubgoal::SeeSubgoal ( SubgoalLogic  l,
UnitsGroup ug,
BWAPI::Position  pos 
)

Member Function Documentation

double SeeSubgoal::distanceToRealize ( ) [virtual]

Implements Subgoal.

Here is the call graph for this function:

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]

Implements Subgoal.

Here is the call graph for this function:


Member Data Documentation

bool SeeSubgoal::_achieved [protected]
BWAPI::Position SeeSubgoal::_pos [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines