diff options
author | SpitfireX <timm.weber@me.com> | 2015-08-16 04:48:55 +0200 |
---|---|---|
committer | SpitfireX <timm.weber@me.com> | 2015-08-16 04:48:55 +0200 |
commit | fc3ed2e3a4748c3168fd621ca96f98cc568f315d (patch) | |
tree | bd883f1d2ce4db189c8bab223552fb6b0c55b7e6 /strategy.py | |
parent | bee4caca932f0fbd8f9f1c546583a0431e4145fb (diff) |
draw_text is now callable externally
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 093172a..d8efe4e 100644 --- a/strategy.py +++ b/strategy.py @@ -148,4 +148,6 @@ class Strategy: gui.draw_line(self.c.player.center, self.target, (255,0,0)) gui.draw_arc(self.c.player.center, 210, bi, (255,0,0)) + gui.draw_text(self.target, str(round(zipped[0][1], 2)), (0,0,0), draw_centered = True) + return self.target |