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

Method killedUnitCount

bwapi/Shared/PlayerShared.cpp:109–112  ·  view source on GitHub ↗

--------------------------------------------- KILLED UNIT COUNT ------------------------------------------

Source from the content-addressed store, hash-verified

107 }
108 //--------------------------------------------- KILLED UNIT COUNT ------------------------------------------
109 int PlayerImpl::killedUnitCount(UnitType unit) const
110 {
111 return (unit >= 0 && unit < UnitTypes::Enum::MAX) ? self->killedUnitCount[unit] : 0;
112 }
113 //--------------------------------------------------- SCORE ------------------------------------------------
114 int PlayerImpl::getUnitScore() const
115 {

Callers 1

onStartMethod · 0.80

Calls

no outgoing calls

Tested by 1

onStartMethod · 0.64