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

Method height

bwapi/BWAPILIB/Source/UnitType.cpp:2304–2307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2302 return this->dimensionLeft() + 1 + this->dimensionRight();
2303 }
2304 int UnitType::height() const
2305 {
2306 return this->dimensionUp() + 1 + this->dimensionDown();
2307 }
2308 int UnitType::seekRange() const
2309 {
2310 return seekRangeTiles[this->getID()] * 32;

Callers 3

maxUnitHeightMethod · 0.45
TEST_CLASSFunction · 0.45
TEST_METHODFunction · 0.45

Calls 2

dimensionUpMethod · 0.95
dimensionDownMethod · 0.95

Tested by 2

TEST_CLASSFunction · 0.36
TEST_METHODFunction · 0.36