11 explicit IsUnit(UNIT_TYPEID type_);
13 bool operator()(
const Unit& unit_)
const;
21 explicit IsUnits(
const std::vector<UNIT_TYPEID>& types_);
23 bool operator()(
const Unit& unit_)
const ;
26 std::vector<UNIT_TYPEID> m_types;
31 bool operator()(
const Unit& unit_)
const;
33 bool operator()(UNIT_TYPEID type_)
const;
39 bool operator()(
const Unit& unit_)
const;
41 bool operator()(UNIT_TYPEID type_)
const;
50 bool operator()(
const Unit& unit_)
const;
56 bool operator()(
const Unit& unit_)
const;
58 bool operator()(UNIT_TYPEID type_)
const;
67 bool operator()(
const Unit& unit_)
const;
A unit. Could be a structure, a worker or a military unit.
Definition: sc2_unit.h:70
Unit data in an observation.
Determines if the unit matches the unit type.
Definition: sc2_unit_filters.h:10
Definition: sc2_action.h:9
Definition: sc2_unit_filters.h:55
A list of enums provided for your convenience.
Determines if units matches the unit type.
Definition: sc2_unit_filters.h:20
Definition: sc2_unit_filters.h:66
Determines if the unit is town hall (command center, hatchery etc).
Definition: sc2_unit_filters.h:30
Definition: sc2_unit_filters.h:38
Definition: sc2_unit_filters.h:49