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

Method hasCreep

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:407–412  ·  view source on GitHub ↗

--------------------------------------------- HAS CREEP --------------------------------------------------

Source from the content-addressed store, hash-verified

405 }
406 //--------------------------------------------- HAS CREEP --------------------------------------------------
407 bool GameImpl::hasCreep(int x, int y) const
408 {
409 if (!this->isFlagEnabled(Flag::CompleteMapInformation) && !this->isVisible(x, y))
410 return false;
411 return Map::hasCreep(x, y);
412 }
413 //--------------------------------------------- HAS POWER --------------------------------------------------
414 bool GameImpl::hasPowerPrecise(int x, int y, UnitType unitType) const
415 {

Callers

nothing calls this directly

Calls 2

isFlagEnabledMethod · 0.95
isVisibleMethod · 0.95

Tested by

no test coverage detected