SC2API
An API for AI for StarCraft II
|
Setup for a player in a game. More...
#include <sc2_gametypes.h>
Public Member Functions | |
PlayerSetup (PlayerType in_type, Race in_race, Agent *in_agent=nullptr, Difficulty in_difficulty=Easy) | |
Public Attributes | |
PlayerType | type |
Player can be a Participant (usually an agent), Computer (in-built AI) or Observer. | |
Agent * | agent |
Agent, if one is available. | |
Race | race |
Race: Terran, Zerg or Protoss. Only for playing against the built-in AI. | |
Difficulty | difficulty |
Difficulty: Only for playing against the built-in AI. | |
Setup for a player in a game.