示例#1
0
 UnitGroup SelectAll( BWAPI::UnitType type )
 {
   if ( type.isNeutral() && UnitGroupManager::s_UnitGroupManager->neutral != NULL )
   {
     return UnitGroupManager::s_UnitGroupManager->data[UnitGroupManager::s_UnitGroupManager->neutral][type];
   }
   return UnitGroupManager::s_UnitGroupManager->data[BWAPI::Broodwar->self()][type];
 }
示例#2
0
UnitGroup SelectAll(BWAPI::UnitType type)
{
	if (type.isNeutral() && neutral!=NULL)
		return data[neutral][type];
	return data[BWAPI::Broodwar->self()][type];
}