Skip to content
Snippets Groups Projects
Commit 4a709fb8 authored by David Bergström's avatar David Bergström
Browse files
parent 72b5549c
No related branches found
No related tags found
No related merge requests found
Pipeline #3867 passed
...@@ -26,6 +26,10 @@ Unit ...@@ -26,6 +26,10 @@ Unit
.. autoattribute:: build_percentage .. autoattribute:: build_percentage
.. autoattribute:: energy .. autoattribute:: energy
.. autoattribute:: facing
Returns the direction the unit is facing
.. autoattribute:: hit_points .. autoattribute:: hit_points
.. autoattribute:: max_hit_points .. autoattribute:: max_hit_points
.. autoattribute:: id .. autoattribute:: id
...@@ -56,6 +60,16 @@ Unit ...@@ -56,6 +60,16 @@ Unit
See :ref:`playerconstants` for more information. See :ref:`playerconstants` for more information.
.. autoattribute:: position .. autoattribute:: position
.. autoattribute:: current_ability_id
.. autoattribute:: progress
Returns the progress of currently used ability (-1 if not using ability)
.. autoattribute:: radius
Retruns the radius of the unit
.. autoattribute:: shields .. autoattribute:: shields
.. autoattribute:: tile_position .. autoattribute:: tile_position
.. autoattribute:: unit_type .. autoattribute:: unit_type
...@@ -89,3 +103,7 @@ Unit ...@@ -89,3 +103,7 @@ Unit
Returns True if the target has a valid target and False otherwise. Returns True if the target has a valid target and False otherwise.
.. automethod:: hold_position
.. automethod:: stop_dance
Stop and dance
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