TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
Play back a Brood War replay using OpenBW. More...
#include <replayer.h>
Inherited by cherrypi::Replayer.
Public Member Functions | |
TCReplayer (std::string replayPath) | |
TCReplayer (ReplayerConfiguration) | |
virtual | ~TCReplayer () |
torchcraft::State * | tcstate () const |
void | init () |
void | step () |
void | run () |
bool | isComplete () |
virtual void | onStep () |
Protected Attributes | |
ReplayerConfiguration | configuration_ |
std::unique_ptr< OpenBwProcess > | openbw_ |
std::shared_ptr< torchcraft::Client > | client_ |
bool | initialized_ = false |
Play back a Brood War replay using OpenBW.
Provides a TorchCraft view of the game state.
cherrypi::TCReplayer::TCReplayer | ( | std::string | replayPath | ) |
cherrypi::TCReplayer::TCReplayer | ( | ReplayerConfiguration | configuration | ) |
|
inlinevirtual |
void cherrypi::TCReplayer::init | ( | ) |
|
inline |
|
inlinevirtual |
Reimplemented in cherrypi::Replayer.
void cherrypi::TCReplayer::run | ( | ) |
void cherrypi::TCReplayer::step | ( | ) |
torchcraft::State * cherrypi::TCReplayer::tcstate | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |