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

Method getBottom

bwapi/BWAPILIB/Source/Unit.cpp:223–226  ·  view source on GitHub ↗

--------------------------------------------- GET BOTTOM -------------------------------------------------

Source from the content-addressed store, hash-verified

221 }
222 //--------------------------------------------- GET BOTTOM -------------------------------------------------
223 int UnitInterface::getBottom() const
224 {
225 return this->getPosition().y + this->getType().dimensionDown();
226 }
227 //--------------------------------------------- IS BEING CONSTRUCTED ---------------------------------------
228 bool UnitInterface::isBeingConstructed() const
229 {

Callers 6

getUnitsInRadiusMethod · 0.95
getClosestUnitMethod · 0.95
getUnitsInWeaponRangeMethod · 0.95
getDistanceMethod · 0.95
updateUnitsMethod · 0.80
Filters.cppFile · 0.80

Calls 3

dimensionDownMethod · 0.80
getPositionMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected