BWAPI
Public Member Functions | Static Public Member Functions
UpgradesPlanner Class Reference

#include <UpgradesPlanner.h>

List of all members.

Public Member Functions

 ~UpgradesPlanner ()
bool checkUpgrade (BaseAgent *agent)

Static Public Member Functions

static UpgradesPlannergetInstance ()

Detailed Description

UpgradesPlanner contains which updates/techs to be research and in which order.

The UpgradesPlanner is implemented as a singleton class. Each class that needs to access UpgradesPlanner can request an instance, and all classes shares the same UpgradesPlanner instance.

Author: Johan Hagelback (johan.hagelback@gmail.com)


Constructor & Destructor Documentation

Destructor.


Member Function Documentation

Checks if there is an upgrade the specified agent need to upgrade/research.

Here is the call graph for this function:

Here is the caller graph for this function:

Returns the instance to the UpgradesPlanner that is currently used.

Here is the caller graph for this function:


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