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

Method isSieged

bwapi/BWAPILIB/Source/Unit.cpp:330–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328 }
329
330 bool UnitInterface::isSieged() const
331 {
332 UnitType t(this->getType());
333 return t == UnitTypes::Terran_Siege_Tank_Siege_Mode ||
334 t == UnitTypes::Hero_Edmund_Duke_Siege_Mode;
335 }
336
337 bool UnitInterface::isStasised() const
338 {

Callers 11

canUnsiegeFunction · 0.80
addMethod · 0.80
flushMethod · 0.80
executeCommandMethod · 0.80
useTechMethod · 0.80
Filters.cppFile · 0.80
onStartMethod · 0.80
updateMethod · 0.80
startMethod · 0.80
updateMethod · 0.80

Calls 1

getTypeMethod · 0.45

Tested by 4

onStartMethod · 0.64
updateMethod · 0.64
startMethod · 0.64
updateMethod · 0.64