diff --git a/library.cpp b/library.cpp index d4195c3eba6d9c3b8fa78bb6cf0a54df279e133c..657490b4cd14626f28d488d4bafad3774f8d300c 100644 --- a/library.cpp +++ b/library.cpp @@ -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"); }