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

Method getEnergy

bwapi/Shared/UnitShared.cpp:81–84  ·  view source on GitHub ↗

--------------------------------------------- GET ENERGY -------------------------------------------------

Source from the content-addressed store, hash-verified

79 }
80 //--------------------------------------------- GET ENERGY -------------------------------------------------
81 int UnitImpl::getEnergy() const
82 {
83 return self->energy;
84 }
85 //--------------------------------------------- GET RESOURCES ----------------------------------------------
86 int UnitImpl::getResources() const
87 {

Callers 10

Military.cppFile · 0.80
GetSuitableCasterFunction · 0.80
CanUseTechMethod · 0.80
DoUnitBehaviourMethod · 0.80
Filters.cppFile · 0.80
startMethod · 0.80
updateMethod · 0.80
startMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by 4

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