MCPcopy Create free account
hub / github.com/bwapi/bwapi / canProduce

Method canProduce

bwapi/BWAPILIB/Source/UnitType.cpp:2348–2351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2346 return unitTurnRadius[this->getID()];
2347 }
2348 bool UnitType::canProduce() const
2349 {
2350 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::ProducesUnits);
2351 }
2352 bool UnitType::canAttack() const
2353 {
2354 switch ( *this )

Callers 8

canTrainFunction · 0.80
canSetRallyPositionFunction · 0.80
canSetRallyUnitFunction · 0.80
addMethod · 0.80
updateDataMethod · 0.80
Filters.cppFile · 0.80
executeMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected