#include <Force.h>

Public Member Functions | |
| virtual int | getID () const =0 |
| virtual std::string | getName () const =0 |
| virtual std::set< Player * > | getPlayers () const =0 |
The Force class is used to get information about each force in the match, such as the name of the force and the set of players in the force.
| virtual int BWAPI::Force::getID | ( | ) | const [pure virtual] |
Returns a unique ID for the force.
Implemented in BWAPI::ForceImpl.
| virtual std::string BWAPI::Force::getName | ( | ) | const [pure virtual] |
Returns the name of the force.
Implemented in BWAPI::ForceImpl.
| virtual std::set<Player*> BWAPI::Force::getPlayers | ( | ) | const [pure virtual] |
Returns the set of players in the force.
Implemented in BWAPI::ForceImpl.
1.7.6.1