|
BWAPI
|
#include <ArmyComposition.h>
Public Member Functions | |
| void | addUnlimited (BWAPI::UnitType unitType, size_t nb) |
| void | addLimited (BWAPI::UnitType unitType, size_t nb) |
| size_t | getNbUnlimited (BWAPI::UnitType unitType) const |
| size_t | getNbLimited (BWAPI::UnitType unitType) const |
| bool | operator== (const ArmyComposition &other) const |
| bool | operator!= (const ArmyComposition &other) const |
| const std::map < BWAPI::UnitType, size_t > & | getLimitedComposition () const |
| const std::map < BWAPI::UnitType, size_t > & | getUnlimitedComposition () const |
Protected Attributes | |
| std::map< BWAPI::UnitType, size_t > | m_limitedComposition |
| std::map< BWAPI::UnitType, size_t > | m_unlimitedComposition |
| void ArmyComposition::addLimited | ( | BWAPI::UnitType | unitType, |
| size_t | nb | ||
| ) | [inline] |
| void ArmyComposition::addUnlimited | ( | BWAPI::UnitType | unitType, |
| size_t | nb | ||
| ) | [inline] |
| const std::map<BWAPI::UnitType, size_t>& ArmyComposition::getLimitedComposition | ( | ) | const [inline] |

| size_t ArmyComposition::getNbLimited | ( | BWAPI::UnitType | unitType | ) | const [inline] |
| size_t ArmyComposition::getNbUnlimited | ( | BWAPI::UnitType | unitType | ) | const [inline] |
| const std::map<BWAPI::UnitType, size_t>& ArmyComposition::getUnlimitedComposition | ( | ) | const [inline] |

| bool ArmyComposition::operator!= | ( | const ArmyComposition & | other | ) | const [inline] |
| bool ArmyComposition::operator== | ( | const ArmyComposition & | other | ) | const [inline] |
std::map<BWAPI::UnitType, size_t> ArmyComposition::m_limitedComposition [protected] |
std::map<BWAPI::UnitType, size_t> ArmyComposition::m_unlimitedComposition [protected] |
1.7.6.1