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

Method isTargetable

bwapi/Shared/UnitShared.cpp:634–637  ·  view source on GitHub ↗

--------------------------------------------- IS TARGETABLE ----------------------------------------------

Source from the content-addressed store, hash-verified

632 }
633 //--------------------------------------------- IS TARGETABLE ----------------------------------------------
634 bool UnitImpl::isTargetable() const
635 {
636 return Templates::canTargetUnit(const_cast<UnitImpl*>(this));
637 }
638 //--------------------------------------------- CAN COMMAND ------------------------------------------------
639 bool UnitImpl::canCommand() const
640 {

Callers

nothing calls this directly

Calls 1

canTargetUnitFunction · 0.85

Tested by

no test coverage detected