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

Method canUseTechPosition

bwapi/Shared/UnitShared.cpp:1058–1061  ·  view source on GitHub ↗

--------------------------------------------- CAN USE TECH POSITION --------------------------------------

Source from the content-addressed store, hash-verified

1056 }
1057 //--------------------------------------------- CAN USE TECH POSITION --------------------------------------
1058 bool UnitImpl::canUseTechPosition(BWAPI::TechType tech, bool checkCanIssueCommandType, bool checkCommandibility) const
1059 {
1060 return Templates::canUseTechPosition(const_cast<UnitImpl*>(this), tech, checkCanIssueCommandType, checkCommandibility);
1061 }
1062 bool UnitImpl::canUseTechPosition(BWAPI::TechType tech, Position target, bool checkTargetsPositions, bool checkCanIssueCommandType, bool checkCommandibility) const
1063 {
1064 return Templates::canUseTechPosition(const_cast<UnitImpl*>(this), tech, target, checkTargetsPositions, checkCanIssueCommandType, checkCommandibility);

Callers

nothing calls this directly

Calls 1

canUseTechPositionFunction · 0.85

Tested by

no test coverage detected