Skip to content
Snippets Groups Projects
Commit 6ccf5f05 authored by Hannes Jämtner's avatar Hannes Jämtner
Browse files

updated doc and changed api

parent f8ec4bd0
No related branches found
No related tags found
1 merge request!7Uppdaterat API
......@@ -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
......
......@@ -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!).
......
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