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

Method getShields

bwapi/Shared/UnitShared.cpp:76–79  ·  view source on GitHub ↗

--------------------------------------------- GET SHIELDS ------------------------------------------------

Source from the content-addressed store, hash-verified

74 }
75 //--------------------------------------------- GET SHIELDS ------------------------------------------------
76 int UnitImpl::getShields() const
77 {
78 return self->shields;
79 }
80 //--------------------------------------------- GET ENERGY -------------------------------------------------
81 int UnitImpl::getEnergy() const
82 {

Callers 5

Military.cppFile · 0.80
Filters.cppFile · 0.80
startMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by 3

startMethod · 0.64
updateMethod · 0.64
updateMethod · 0.64