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

Method isUnitAvailable

bwapi/Shared/PlayerShared.cpp:173–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 return tech.isValid() ? self->isResearchAvailable[tech] : false;
172 }
173 bool PlayerImpl::isUnitAvailable(UnitType unit) const
174 {
175 return unit.isValid() ? self->isUnitAvailable[unit] : false;
176 }
177 //--------------------------------------------- LEFT GAME --------------------------------------------------
178 bool PlayerImpl::leftGame() const
179 {

Callers 1

canMakeFunction · 0.80

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected