| 50 | return false; // If the tech failed |
| 51 | } |
| 52 | bool UnitWrap::UseTechOnClosest(BWAPI::TechType tech, int range, const BWAPI::UnitFilter &pred, int targBit) |
| 53 | { |
| 54 | Unit pTarget = pUnit->getClosestUnit(pred, range); |
| 55 | return UseTech(tech, pTarget, targBit); |
| 56 | } |
| 57 | |
| 58 | // ----------------------------------------------- GETTERS ----------------------------------------- |
| 59 | int UnitWrap::GetOrderTimer() const |
nothing calls this directly
no test coverage detected