diff --git a/docs/unit.rst b/docs/unit.rst index da1648adc7b23b2242665b3c47e29c15b8bd3d58..88e0f527e1a9467e276dd1f72dff9f5027a73711 100644 --- a/docs/unit.rst +++ b/docs/unit.rst @@ -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