TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
#include <game.h>
Public Member Functions | |
GameMultiPlayer (GameOptions const &gameOptions, GamePlayerOptions const &player1, GamePlayerOptions const &player2) | |
GameMultiPlayer (std::string const &map, tc::BW::Race race1, tc::BW::Race race2, GameType gameType=GameType::Melee, std::string const &replayPath=std::string(), bool forceGui=false) | |
std::shared_ptr< torchcraft::Client > | makeClient1 (torchcraft::Client::Options opts=torchcraft::Client::Options()) |
std::shared_ptr< torchcraft::Client > | makeClient2 (torchcraft::Client::Options opts=torchcraft::Client::Options()) |
Protected Attributes | |
detail::FifoPipes | pipes_ |
std::shared_ptr< OpenBwProcess > | proc1_ |
std::shared_ptr< OpenBwProcess > | proc2_ |
cherrypi::GameMultiPlayer::GameMultiPlayer | ( | GameOptions const & | gameOptions, |
GamePlayerOptions const & | player1, | ||
GamePlayerOptions const & | player2 | ||
) |
cherrypi::GameMultiPlayer::GameMultiPlayer | ( | std::string const & | map, |
tc::BW::Race | race1, | ||
tc::BW::Race | race2, | ||
GameType | gameType = GameType::Melee , |
||
std::string const & | replayPath = std::string() , |
||
bool | forceGui = false |
||
) |
std::shared_ptr< tc::Client > cherrypi::GameMultiPlayer::makeClient1 | ( | torchcraft::Client::Options | opts = torchcraft::Client::Options() | ) |
std::shared_ptr< tc::Client > cherrypi::GameMultiPlayer::makeClient2 | ( | torchcraft::Client::Options | opts = torchcraft::Client::Options() | ) |
|
protected |
|
protected |
|
protected |