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

Method canTrain

bwapi/Shared/UnitShared.cpp:726–729  ·  view source on GitHub ↗

--------------------------------------------- CAN TRAIN --------------------------------------------------

Source from the content-addressed store, hash-verified

724 }
725 //--------------------------------------------- CAN TRAIN --------------------------------------------------
726 bool UnitImpl::canTrain(bool checkCommandibility) const
727 {
728 return Templates::canTrain(const_cast<UnitImpl*>(this), checkCommandibility);
729 }
730 bool UnitImpl::canTrain(UnitType uType, bool checkCanIssueCommandType, bool checkCommandibility) const
731 {
732 return Templates::canTrain(const_cast<UnitImpl*>(this), uType, checkCanIssueCommandType, checkCommandibility);

Callers

nothing calls this directly

Calls 1

canTrainFunction · 0.85

Tested by

no test coverage detected