summaryrefslogtreecommitdiff
path: root/strategy.py
diff options
context:
space:
mode:
authorSpitfireX <timm.weber@me.com>2015-08-16 04:48:55 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-18 00:49:36 +0200
commit57609975e0ea98c7152859ffd4c965c0879608ad (patch)
treeec6a61039355c4cdea116d13ec44b68dcc417e51 /strategy.py
parentecdfcf48607ab9a382695dd0cdbdaada5d731762 (diff)
draw_text is now callable externally (cherrypick from strategy-rework)
Diffstat (limited to 'strategy.py')
-rw-r--r--strategy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/strategy.py b/strategy.py
index 0d2d8f0..233541b 100644
--- a/strategy.py
+++ b/strategy.py
@@ -190,4 +190,6 @@ class Strategy:
# more debugging
gui.draw_line(self.c.player.center, self.target, self.color)
+ gui.draw_text(self.target, str(round(zipped[0][1], 2)), (0,0,0), draw_centered = True)
+
return self.target