Skip to content
Snippets Groups Projects
Commit 3a02b3f2 authored by David Bergström's avatar David Bergström
Browse files

Merge branch 'master' into 'master'

aiarena

See merge request starcraft-ai-course/pycommandcenter!13
parents 945f6c68 8b8f276e
Branches
No related tags found
No related merge requests found
...@@ -99,6 +99,7 @@ Studio. ...@@ -99,6 +99,7 @@ Studio.
3. Run `make` to build the project (use `make -j N` if you want to use N 3. Run `make` to build the project (use `make -j N` if you want to use N
threads) threads)
# How to use the library with PyCharm # How to use the library with PyCharm
See [separate page](pycharm.md). See [separate page](pycharm.md).
......
...@@ -26,7 +26,10 @@ PYBIND11_MODULE(library, m) ...@@ -26,7 +26,10 @@ PYBIND11_MODULE(library, m)
.def("set_participants", &sc2::Coordinator::SetParticipants, "participants"_a) .def("set_participants", &sc2::Coordinator::SetParticipants, "participants"_a)
.def("launch_starcraft", &sc2::Coordinator::LaunchStarcraft) .def("launch_starcraft", &sc2::Coordinator::LaunchStarcraft)
.def("start_game", &sc2::Coordinator::StartGame, "map_path"_a) .def("start_game", &sc2::Coordinator::StartGame, "map_path"_a)
.def("connect", &sc2::Coordinator::Connect, "port"_a)
.def("update", &sc2::Coordinator::Update) .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("set_real_time", &sc2::Coordinator::SetRealtime)
.def("load_replay_list",&sc2::Coordinator::SetReplayPath, "replay_path"_a) .def("load_replay_list",&sc2::Coordinator::SetReplayPath, "replay_path"_a)
.def("add_replay_observer",&sc2::Coordinator::AddReplayObserver, "replay_observer"_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.
Please register or to comment