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

Method getTarget

bwapi/Shared/BulletShared.cpp:47–50  ·  view source on GitHub ↗

------------------------------------------------ GET TARGET ----------------------------------------------

Source from the content-addressed store, hash-verified

45 }
46 //------------------------------------------------ GET TARGET ----------------------------------------------
47 Unit BulletImpl::getTarget() const
48 {
49 return Broodwar->getUnit(self->target);
50 }
51 //-------------------------------------------- GET TARGET POSITION -----------------------------------------
52 Position BulletImpl::getTargetPosition() const
53 {

Callers

nothing calls this directly

Calls 1

getUnitMethod · 0.45

Tested by

no test coverage detected