BWAPI
Classes | Public Member Functions | Public Attributes
BuildOrderManager Class Reference

#include <BuildOrderManager.h>

List of all members.

Classes

class  MetaUnit
class  PriorityLevel
class  Resources
class  Type

Public Member Functions

 BuildOrderManager (BuildManager *buildManager, TechManager *techManager, UpgradeManager *upgradeManager, WorkerManager *workerManager, SupplyManager *supplyManager)
void update ()
std::string getName () const
void build (int count, BWAPI::UnitType t, int priority, BWAPI::TilePosition seedPosition=BWAPI::TilePositions::None)
void buildAdditional (int count, BWAPI::UnitType t, int priority, BWAPI::TilePosition seedPosition=BWAPI::TilePositions::None)
void research (BWAPI::TechType t, int priority)
void upgrade (int level, BWAPI::UpgradeType t, int priority)
bool hasResources (BWAPI::UnitType t)
bool hasResources (BWAPI::TechType t)
bool hasResources (BWAPI::UpgradeType t)
void spendResources (BWAPI::UnitType t)
void spendResources (BWAPI::TechType t)
void spendResources (BWAPI::UpgradeType t)
int getPlannedCount (BWAPI::UnitType t)
int getPlannedCount (BWAPI::UnitType t, int minPriority)
void enableDependencyResolver ()
void setDebugMode (bool debugMode)
std::set< BWAPI::UnitTypeunitsCanMake (MetaUnit *builder, int time)
std::set< BWAPI::TechTypetechsCanResearch (MetaUnit *techUnit, int time)
std::set< BWAPI::UpgradeTypeupgradesCanResearch (MetaUnit *techUnit, int time)
int nextFreeTime (const MetaUnit *unit)
int nextFreeTime (BWAPI::UnitType t)
int nextFreeTime (const MetaUnit *unit, BWAPI::UnitType t)
int nextFreeTime (const MetaUnit *unit, BWAPI::TechType t)
int nextFreeTime (const MetaUnit *unit, BWAPI::UpgradeType t)
BuildManagergetBuildManager ()

Public Attributes

std::set< MetaUnit * > MetaUnitPointers

Constructor & Destructor Documentation

BuildOrderManager::BuildOrderManager ( BuildManager buildManager,
TechManager techManager,
UpgradeManager upgradeManager,
WorkerManager workerManager,
SupplyManager supplyManager 
)

Here is the call graph for this function:


Member Function Documentation

void BuildOrderManager::build ( int  count,
BWAPI::UnitType  t,
int  priority,
BWAPI::TilePosition  seedPosition = BWAPI::TilePositions::None 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void BuildOrderManager::buildAdditional ( int  count,
BWAPI::UnitType  t,
int  priority,
BWAPI::TilePosition  seedPosition = BWAPI::TilePositions::None 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:

string BuildOrderManager::getName ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

int BuildOrderManager::getPlannedCount ( BWAPI::UnitType  t,
int  minPriority 
)

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

void BuildOrderManager::research ( BWAPI::TechType  t,
int  priority 
)
void BuildOrderManager::setDebugMode ( bool  debugMode)

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

Here is the call graph for this function:

set< BWAPI::TechType > BuildOrderManager::techsCanResearch ( MetaUnit techUnit,
int  time 
)

Here is the call graph for this function:

set< BWAPI::UnitType > BuildOrderManager::unitsCanMake ( MetaUnit builder,
int  time 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the call graph for this function:

Here is the caller graph for this function:

void BuildOrderManager::upgrade ( int  level,
BWAPI::UpgradeType  t,
int  priority 
)

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 Enumerations Enumerator Defines