BWAPI
trunk/bwapi/BWAPI/Source/BWAPI/ForceImpl.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <BWAPI/Force.h>
00003 #include <set>
00004 #include <string>
00005 namespace BWAPI
00006 {
00007   class Player;
00008   class ForceImpl : public Force
00009   {
00010     public:
00011       ForceImpl(std::string name);
00012       virtual int getID() const;
00013       virtual std::string getName() const;
00014       virtual std::set<Player*> getPlayers() const;
00015       std::set<Player*> players;
00016       std::string name;
00017       void setID(int newID);
00018     private:
00019       int id;
00020   };
00021 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines