Skip to content
Snippets Groups Projects
Commit 1ab797a6 authored by David Bergström's avatar David Bergström
Browse files
parent 1b78542d
Branches
Tags
No related merge requests found
......@@ -64,3 +64,5 @@ IDABot
.. autoattribute:: current_supply
.. autoattribute:: max_supply
.. autoattribute:: current_frame
......@@ -25,6 +25,10 @@ Unit
.. autoattribute:: hit_points
.. autoattribute:: id
.. autoattribute:: is_alive
.. autoattribute:: is_blip
Returns true if unit is a "blip" - a ping on the map.
.. autoattribute:: is_being_constructed
Returns build_progress > 0
......@@ -52,6 +56,10 @@ Unit
.. autoattribute:: unit_type
.. autoattribute:: weapon_cooldown
.. 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!).
Methods:
.. automethod:: stop
......@@ -68,4 +76,7 @@ Unit
.. automethod:: train
.. automethod:: research
.. automethod:: morph
.. method:: Unit.has_target
Returns True if the target has a valid target and False otherwise.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment