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

Method getTargetPosition

bwapi/Shared/UnitShared.cpp:283–286  ·  view source on GitHub ↗

--------------------------------------------- GET TARGET POSITION ----------------------------------------

Source from the content-addressed store, hash-verified

281 }
282 //--------------------------------------------- GET TARGET POSITION ----------------------------------------
283 Position UnitImpl::getTargetPosition() const
284 {
285 return Position(self->targetPositionX,self->targetPositionY);
286 }
287 //--------------------------------------------- GET ORDER --------------------------------------------------
288 Order UnitImpl::getOrder() const
289 {

Callers 7

canIssueCommandFunction · 0.45
canIssueCommandGroupedFunction · 0.45
startMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
startMethod · 0.45
updateMethod · 0.45

Calls 1

PositionClass · 0.50

Tested by 5

startMethod · 0.36
updateMethod · 0.36
updateMethod · 0.36
startMethod · 0.36
updateMethod · 0.36