Skip to content
Snippets Groups Projects
Commit 8b8f276e authored by Edvin Bergström's avatar Edvin Bergström Committed by David Bergström
Browse files

Add functions needed to play on SC2 AI Arena

parent 945f6c68
No related branches found
No related tags found
1 merge request!13aiarena
......@@ -99,6 +99,7 @@ Studio.
3. Run `make` to build the project (use `make -j N` if you want to use N
threads)
# How to use the library with PyCharm
See [separate page](pycharm.md).
......
......@@ -26,7 +26,10 @@ PYBIND11_MODULE(library, m)
.def("set_participants", &sc2::Coordinator::SetParticipants, "participants"_a)
.def("launch_starcraft", &sc2::Coordinator::LaunchStarcraft)
.def("start_game", &sc2::Coordinator::StartGame, "map_path"_a)
.def("connect", &sc2::Coordinator::Connect, "port"_a)
.def("update", &sc2::Coordinator::Update)
.def("all_games_ended", &sc2::Coordinator::AllGamesEnded)
.def("join_game", &sc2::Coordinator::JoinGame)
.def("set_real_time", &sc2::Coordinator::SetRealtime)
.def("load_replay_list",&sc2::Coordinator::SetReplayPath, "replay_path"_a)
.def("add_replay_observer",&sc2::Coordinator::AddReplayObserver, "replay_observer"_a)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment