Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ getTarget
Method
getTarget
bwapi/BWAPILIB/UnitCommand.cpp:283–286 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
281
return unit;
282
}
283
Unit UnitCommand::getTarget() const
284
{
285
return target;
286
}
287
Position UnitCommand::getTargetPosition() const
288
{
289
if (type == UnitCommandTypes::Build ||
Callers
2
UseTech
Method · 0.45
Filters.cpp
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected