BWAPI
Aiur/include/UnitGroupManager.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <BWAPI.h>
00003 #include <UnitGroup.h>
00004 class UnitGroupManager
00005 {
00006 public:
00007         static UnitGroupManager* create();
00008         static void destroy();
00009         void onUnitDiscover(BWAPI::Unit* unit);
00010         void onUnitEvade(BWAPI::Unit* unit);
00011         void onUnitMorph(BWAPI::Unit* unit);
00012         void onUnitRenegade(BWAPI::Unit* unit);
00013 private:
00014         UnitGroupManager();
00015         ~UnitGroupManager();
00016 };
00017 extern UnitGroupManager* TheUnitGroupManager;
00018 UnitGroup AllUnits();
00019 UnitGroup SelectAll();
00020 UnitGroup SelectAll(BWAPI::UnitType type);
00021 UnitGroup SelectAllEnemy();
00022 UnitGroup SelectAllEnemy(BWAPI::UnitType type);
00023 UnitGroup SelectAll(BWAPI::Player* player, BWAPI::UnitType type);
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines