From ee278f6b78cc6477e374c4bd5f5cfc644e2491eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Bergstr=C3=B6m?= <david.bergstrom@liu.se>
Date: Tue, 20 Aug 2019 16:08:16 +0200
Subject: [PATCH] Document Unit method ability

---
 docs/unit.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/unit.rst b/docs/unit.rst
index 21c5c35..ebf312b 100644
--- a/docs/unit.rst
+++ b/docs/unit.rst
@@ -66,6 +66,10 @@ Unit
 
    Methods:
 
+   .. automethod:: ability
+
+      Call an ability directly, different abilities has different targets. Some target the unit itself (no argument), target a point (Point2D as argument) and some target a Unit (instance of Unit as argument).
+
    .. automethod:: stop
    .. automethod:: attack_unit
    .. automethod:: attack_move
-- 
GitLab