From baeb0c71c9a8156b68cbbed80b5ad8fc067a57e6 Mon Sep 17 00:00:00 2001 From: sofab194 <sofab194@student.liu.se> Date: Wed, 21 Nov 2018 16:56:48 +0100 Subject: [PATCH] Added start_locations to python --- python-api-src/library.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/python-api-src/library.cpp b/python-api-src/library.cpp index f3af58bbb..7d883378f 100644 --- a/python-api-src/library.cpp +++ b/python-api-src/library.cpp @@ -75,6 +75,7 @@ PYBIND11_MODULE(library, m) .def_property_readonly("map_tools", &IDABot::Map) .def_property_readonly("building_placer", &IDABot::GetBuildingPlacer) .def_property_readonly("start_location", &IDABot::GetStartLocation, "CCPosition representing the start location") + .def_property_readonly("start_locations", &IDABot::GetStartLocations, "CCPosition representing the start locations") .def_property_readonly("minerals", &IDABot::GetMinerals, "How much minerals we currently have") .def_property_readonly("current_supply", &IDABot::GetCurrentSupply, "How much supply we are currently using") .def_property_readonly("max_supply", &IDABot::GetMaxSupply, "How much supply we can currently use") -- GitLab