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

Method isBurrowable

bwapi/BWAPILIB/Source/UnitType.cpp:2444–2447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2442 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::TwoUnitsIn1Egg);
2443 }
2444 bool UnitType::isBurrowable() const
2445 {
2446 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Burrowable);
2447 }
2448 bool UnitType::isCloakable() const
2449 {
2450 return !!(UnitPrototypeFlags::unitFlags[this->getID()] & UnitPrototypeFlags::Cloakable);

Callers 4

canUnburrowFunction · 0.80
RunComputerAIMethod · 0.80
Filters.cppFile · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected