From 6ccf5f05f4355649a325377931fa0773828fca32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20J=C3=A4mtner?= <hanja189@student.liu.se> Date: Mon, 13 Jul 2020 11:43:36 +0200 Subject: [PATCH] updated doc and changed api --- .gitmodules | 2 +- docs/unit.rst | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index bccb30d..725cac4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,7 +3,7 @@ url = https://github.com/pybind/pybind11 [submodule "lib/s2client-api"] path = lib/s2client-api - url = https://github.com/Blizzard/s2client-api.git + url = https://github.com/Jackyline/cpp-sc2.git [submodule "lib/sc2-gamedata"] path = lib/sc2-gamedata url = https://github.com/noorus/sc2-gamedata.git diff --git a/docs/unit.rst b/docs/unit.rst index d298b02..84c9b02 100644 --- a/docs/unit.rst +++ b/docs/unit.rst @@ -77,6 +77,10 @@ Unit Returns if this unit is currently holding minerals + .. autoattribute:: is_carrying_minerals + + Returns if this unit is currently holding gas + .. attribute:: Unit.target Returns target if unit has one, otherwise will fail the assertion (make sure not to call this unless certain that the unit has a target!). -- GitLab