BWAPI
Skynet/Skynet/AdvancedGroup.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "Interface.h"
00004 
00005 #include "Goal.h"
00006 #include "Behaviour.h"
00007 
00008 class AdvancedGroup
00009 {
00010 public:
00011         AdvancedGroup();
00012 
00013         void update(Goal goal);
00014 
00015         void addUnit(Unit unit);
00016         void removeUnits(Unit unit);
00017 
00018 private:
00019         UnitGroup mAllUnits;
00020         std::map<Unit, Behaviour> mUnitBehaviours;
00021 
00022         Goal mLastGoal;
00023         UnitGroup mCurrectGoalGroup;
00024 
00025         UnitGroup mReinforcements;
00026 
00027         std::list<std::pair<UnitGroup, Goal>> mStrandedUnits;
00028 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines