BWAPI
Public Member Functions | Public Attributes
KillSubgoal Class Reference

#include <KillSubgoal.h>

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

List of all members.

Public Member Functions

 KillSubgoal (SubgoalLogic l, UnitsGroup *ug, BWAPI::Unit *u)
bool isRealized ()
void tryToRealize ()
double distanceToRealize ()

Public Attributes

Unit * _target

Constructor & Destructor Documentation

KillSubgoal::KillSubgoal ( SubgoalLogic  l,
UnitsGroup ug,
BWAPI::Unit *  u 
)

Member Function Documentation

double KillSubgoal::distanceToRealize ( ) [virtual]

Implements Subgoal.

bool KillSubgoal::isRealized ( ) [virtual]

Implements Subgoal.

Here is the call graph for this function:

void KillSubgoal::tryToRealize ( ) [virtual]

If we call tryToRealize on a "-1" distanceToRealize Subgoal it should be the last and only Subgoal of the Goal

Implements Subgoal.

Here is the call graph for this function:


Member Data Documentation


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