BWAPI
|
#include <MorphManager.h>
Classes | |
class | Unit |
Public Member Functions | |
MorphManager (Arbitrator::Arbitrator< BWAPI::Unit *, double > *arbitrator) | |
virtual void | onOffer (std::set< BWAPI::Unit * > units) |
virtual void | onRevoke (BWAPI::Unit *unit, double bid) |
virtual void | update () |
virtual std::string | getName () const |
virtual std::string | getShortName () const |
void | onRemoveUnit (BWAPI::Unit *unit) |
bool | morph (BWAPI::UnitType type) |
int | getPlannedCount (BWAPI::UnitType type) const |
int | getStartedCount (BWAPI::UnitType type) const |
BWAPI::UnitType | getBuildType (BWAPI::Unit *unit) const |
MorphManager::MorphManager | ( | Arbitrator::Arbitrator< BWAPI::Unit *, double > * | arbitrator | ) |
BWAPI::UnitType MorphManager::getBuildType | ( | BWAPI::Unit * | unit | ) | const |
std::string MorphManager::getName | ( | ) | const [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.
int MorphManager::getPlannedCount | ( | BWAPI::UnitType | type | ) | const |
std::string MorphManager::getShortName | ( | ) | const [virtual] |
Reimplemented from Arbitrator::Controller< BWAPI::Unit *, double >.
int MorphManager::getStartedCount | ( | BWAPI::UnitType | type | ) | const |
bool MorphManager::morph | ( | BWAPI::UnitType | type | ) |
void MorphManager::onOffer | ( | std::set< BWAPI::Unit * > | units | ) | [virtual] |
void MorphManager::onRemoveUnit | ( | BWAPI::Unit * | unit | ) |
void MorphManager::onRevoke | ( | BWAPI::Unit * | unit, |
double | bid | ||
) | [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.
void MorphManager::update | ( | void | ) | [virtual] |
Implements Arbitrator::Controller< BWAPI::Unit *, double >.