10 #include <condition_variable> 15 #include "baseplayer.h" 30 using ClientCommands = std::vector<tc::Client::Command>;
33 Player(std::shared_ptr<tc::Client> client);
50 virtual void init()
override;
54 bool mapHack_ =
false;
Player(std::shared_ptr< tc::Client > client)
Definition: player.cpp:22
void setCombineFrames(int n)
Combine n server-side frames before taking any action.
Definition: player.cpp:31
Player & operator=(const Player &)=delete
The main bot object.
Definition: baseplayer.h:28
void setFrameskip(int n)
UI update frequency of Broodwar instance. Set this before calling init().
Definition: player.cpp:24
void setMapHack(bool on)
Definition: player.h:46
virtual void init() override
Definition: player.cpp:45
void run()
Definition: player.cpp:84
void setNonBlocking(bool nonBlocking)
Run bot step in separate thread to prevent blocking game execution.
Definition: player.cpp:38
Main namespace for bot-related code.
Definition: areainfo.cpp:17
The main bot object for complete games of StarCraft.
Definition: player.h:29