BWAPI
Public Member Functions | Public Attributes | Friends
GoalManager Class Reference

#include <GoalManager.h>

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

List of all members.

Public Member Functions

void addGoal (pGoal g)
void addGoals (const std::list< pGoal > &l)
void onUnitCreate (BWAPI::Unit *u)
 Add all units not building.
void onUnitDestroy (BWAPI::Unit *u)
 Remove from _completedUnits or from _inTrainingUnits.
void onUnitRenegade (BWAPI::Unit *u)
const std::map< BWAPI::Unit
*, pBayesianUnit > & 
getCompletedUnits () const
pBayesianUnit getCompletedUnit (BWAPI::Unit *u)
virtual void update ()

Public Attributes

int attackGoals

Friends

class CSingleton< GoalManager >

Member Function Documentation

Here is the caller graph for this function:

void GoalManager::addGoals ( const std::list< pGoal > &  l)

Here is the call graph for this function:

Here is the caller graph for this function:

const map< Unit *, pBayesianUnit > & GoalManager::getCompletedUnits ( ) const

Here is the caller graph for this function:

void GoalManager::onUnitCreate ( BWAPI::Unit *  u)

Add all units not building.

Here is the caller graph for this function:

void GoalManager::onUnitDestroy ( BWAPI::Unit *  u)

Remove from _completedUnits or from _inTrainingUnits.

Here is the caller graph for this function:

void GoalManager::onUnitRenegade ( BWAPI::Unit *  u)
void GoalManager::update ( ) [virtual]

Check if units in training are completed and create BayesianUnits if so

Do a regroup goal garbage collect units if nothing else to do, lowest bid

Do a first poke with at least 2 zealots against Z and at least 2 goons against others Hackety hack! TODO remove

Update all goals

Removed finished goals

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class CSingleton< GoalManager > [friend]

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