![]() |
SC2API
An API for AI for StarCraft II
|
#include <sc2_unit_filters.h>
Public Member Functions | |
bool | operator() (const Unit &unit_) const |
Determines if the unit is visible vespene geyser. All the geysers has non-zero vespene contents while the geysers covered by the fog of war don't have such parameter (it is always zero) and can't be selected/targeted. This filter returns only the visible and not depleted geysers.