diff options
author | SpitfireX <timm.weber@me.com> | 2015-08-16 04:48:55 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-18 00:49:36 +0200 |
commit | 57609975e0ea98c7152859ffd4c965c0879608ad (patch) | |
tree | ec6a61039355c4cdea116d13ec44b68dcc417e51 /strategy.py | |
parent | ecdfcf48607ab9a382695dd0cdbdaada5d731762 (diff) |
draw_text is now callable externally (cherrypick from strategy-rework)
Diffstat (limited to 'strategy.py')
-rw-r--r-- | strategy.py | 2 |
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 |