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

Disable the refinery fetching method for now

parent 66b353cc
No related branches found
No related tags found
No related merge requests found
......@@ -114,8 +114,6 @@ DistanceMap
BuildingPlacer
--------------
.. TODO: get_refinery_position should work on all bases
.. autoclass:: library.BuildingPlacer
:members:
:undoc-members:
......@@ -9,6 +9,7 @@ void define_building_placer(py::module & m)
.def("can_build_here_with_spaces", &BuildingPlacer::canBuildHereWithSpace, "x"_a, "y"_a, "unit_type"_a, "build_distance"_a)
.def("get_build_location_near", &BuildingPlacer::getBuildLocationNear, "point2di"_a, "unit_type"_a, "build_distance"_a)
.def("reserve_tiles", &BuildingPlacer::reserveTiles, "x"_a, "y"_a, "width"_a, "height"_a)
.def("free_tiles", &BuildingPlacer::freeTiles, "x"_a, "y"_a, "width"_a, "height"_a)
.def("get_refinery_position", &BuildingPlacer::getRefineryPosition);
.def("free_tiles", &BuildingPlacer::freeTiles, "x"_a, "y"_a, "width"_a, "height"_a);
// TODO: Update this method to find refinery positions outside the first base
//.def("get_refinery_position", &BuildingPlacer::getRefineryPosition);
}
\ No newline at end of file
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