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

Method incompleteUnitCount

bwapi/BWAPILIB/Source/Player.cpp:10–13  ·  view source on GitHub ↗

--------------------------------------------- INCOMPLETE UNIT COUNT --------------------------------------

Source from the content-addressed store, hash-verified

8
9//--------------------------------------------- INCOMPLETE UNIT COUNT --------------------------------------
10int PlayerInterface::incompleteUnitCount(UnitType unit) const
11{
12 return this->allUnitCount(unit) - this->completedUnitCount(unit);
13}
14//--------------------------------------------- MAX ENERGY -------------------------------------------------
15int PlayerInterface::maxEnergy(UnitType unit) const
16{

Callers 5

onStartMethod · 0.80
startMethod · 0.80
updateMethod · 0.80
onSendTextMethod · 0.80
onFrameMethod · 0.80

Calls 2

allUnitCountMethod · 0.80
completedUnitCountMethod · 0.80

Tested by 3

onStartMethod · 0.64
startMethod · 0.64
updateMethod · 0.64