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

Method Select

bwapi/BWAPI/Source/BW/OrderTypes.cpp:87–95  ·  view source on GitHub ↗

----------------------------------------- SELECT CONSTRUCTOR -------------------------------------------

Source from the content-addressed store, hash-verified

85 }
86 //----------------------------------------- SELECT CONSTRUCTOR -------------------------------------------
87 Select::Select(int count, const BWAPI::Unit *units)
88 {
89 targCount = 0;
90 for (int i = 0; i < count && i < MAX_SELECTION_COUNT; ++i)
91 {
92 if (units[i])
93 targets[targCount++] = UnitTarget(units[i]);
94 }
95 }
96 Select::Select(int count, const BW::CUnit **units)
97 {
98 targCount = 0;

Callers

nothing calls this directly

Calls 2

UnitTargetClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected