SC2API
An API for AI for StarCraft II
Public Member Functions | List of all members
sc2::IsVisibleGeyser Struct Reference

#include <sc2_unit_filters.h>

Public Member Functions

bool operator() (const Unit &unit_) const
 

Detailed Description

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.


The documentation for this struct was generated from the following file: