----------------------------------------- SELECT CONSTRUCTOR -------------------------------------------
| 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; |
nothing calls this directly
no test coverage detected