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

Method dimensionLeft

bwapi/BWAPILIB/Source/UnitType.cpp:2284–2287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2282 return TilePosition(tileWidth(), tileHeight());
2283 }
2284 int UnitType::dimensionLeft() const
2285 {
2286 return unitDimensions[this->getID()].left;
2287 }
2288 int UnitType::dimensionUp() const
2289 {
2290 return unitDimensions[this->getID()].up;

Callers 5

widthMethod · 0.95
canBuildHereFunction · 0.80
getLeftMethod · 0.80
TEST_CLASSFunction · 0.80
TEST_METHODFunction · 0.80

Calls 1

getIDMethod · 0.45

Tested by 2

TEST_CLASSFunction · 0.64
TEST_METHODFunction · 0.64