| 26 | } |
| 27 | |
| 28 | bool UnitWrap::CanUseTech(TechType tech) const |
| 29 | { |
| 30 | return pUnit->getPlayer()->hasResearched(TechTypes::Lockdown) && pUnit->getEnergy() >= tech.energyCost(); |
| 31 | } |
| 32 | bool UnitWrap::UseTech(BWAPI::TechType tech, Unit pTarget, int targBit) |
| 33 | { |
| 34 | if ( !pTarget ) |
nothing calls this directly
no test coverage detected