TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Public Member Functions | Protected Attributes | List of all members
cherrypi::GameMultiPlayer Class Reference

#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::ClientmakeClient1 (torchcraft::Client::Options opts=torchcraft::Client::Options())
 
std::shared_ptr< torchcraft::ClientmakeClient2 (torchcraft::Client::Options opts=torchcraft::Client::Options())
 

Protected Attributes

detail::FifoPipes pipes_
 
std::shared_ptr< OpenBwProcessproc1_
 
std::shared_ptr< OpenBwProcessproc2_
 

Constructor & Destructor Documentation

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 
)

Member Function Documentation

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())

Member Data Documentation

detail::FifoPipes cherrypi::GameMultiPlayer::pipes_
protected
std::shared_ptr<OpenBwProcess> cherrypi::GameMultiPlayer::proc1_
protected
std::shared_ptr<OpenBwProcess> cherrypi::GameMultiPlayer::proc2_
protected

The documentation for this class was generated from the following files: