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

Remove run function from Python library

parent 4db50bfe
No related branches found
No related tags found
No related merge requests found
......@@ -2,22 +2,6 @@
namespace py = pybind11;
void run()
{
Coordinator coordinator;
IDABot bot;
coordinator.SetParticipants({
CreateParticipant(sc2::Race::Terran, &bot),
sc2::CreateComputer(sc2::Race::Zerg)
});
coordinator.LaunchStarcraft();
coordinator.StartGame("InterloperTest.SC2Map");
while (coordinator.Update()) {
}
}
PYBIND11_MODULE(library, m)
{
......@@ -59,6 +43,4 @@ PYBIND11_MODULE(library, m)
m.def("CreateParticipant", &sc2::CreateParticipant, "Create participant from agent");
m.def("CreateComputer", &sc2::CreateComputer, "Create participant from built-in Starcraft computer");
m.def("run", &run, "Start Starcraft 2");
}
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