This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
BWMirror-Generator/c/BWAPI/Force.h

26 lines
587 B
C
Raw Normal View History

2014-08-05 04:43:14 -04:00
#pragma once
#include <set>
#include <string>
namespace BWAPI
{
class Player;
/** 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. */
class Force
{
protected:
virtual ~Force() {};
public :
/** Returns a unique ID for the force. */
virtual int getID() const = 0;
/** Returns the name of the force. */
virtual std::string getName() const = 0;
/** Returns the set of players in the force. */
virtual std::set<Player*> getPlayers() const = 0;
};
}