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

Method attack

bwapi/BWAPILIB/Source/Unitset.cpp:107–110  ·  view source on GitHub ↗

--------------------------------------------- ATTACK MOVE ------------------------------------------------

Source from the content-addressed store, hash-verified

105 }
106 //--------------------------------------------- ATTACK MOVE ------------------------------------------------
107 bool Unitset::attack(Position target, bool shiftQueueCommand) const
108 {
109 return this->issueCommand(UnitCommand::attack(nullptr, target, shiftQueueCommand));
110 }
111 bool Unitset::attack(Unit target, bool shiftQueueCommand) const
112 {
113 return this->issueCommand(UnitCommand::attack(nullptr, target, shiftQueueCommand));

Callers

nothing calls this directly

Calls 1

issueCommandMethod · 0.95

Tested by

no test coverage detected