Skip to content
Snippets Groups Projects
Commit 4a709fb8 authored by David Bergström's avatar David Bergström
Browse files
parent 72b5549c
Branches
Tags
No related merge requests found
......@@ -26,6 +26,10 @@ Unit
.. autoattribute:: build_percentage
.. autoattribute:: energy
.. autoattribute:: facing
Returns the direction the unit is facing
.. autoattribute:: hit_points
.. autoattribute:: max_hit_points
.. autoattribute:: id
......@@ -56,6 +60,16 @@ Unit
See :ref:`playerconstants` for more information.
.. 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:: tile_position
.. autoattribute:: unit_type
......@@ -89,3 +103,7 @@ Unit
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.
Please register or to comment