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

Public Member Functions

Unit * CreateUnit (Tag tag)
 
Unit * GetUnit (Tag tag) const
 
Unit * GetExistingUnit (Tag tag) const
 
void MarkDead (Tag tag)
 
void ForEachExistingUnit (const std::function< void(Unit &unit)> &functor) const
 
void ClearExisting ()
 
bool UnitExists (Tag tag)
 

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