From fc3ed2e3a4748c3168fd621ca96f98cc568f315d Mon Sep 17 00:00:00 2001 From: SpitfireX Date: Sun, 16 Aug 2015 04:48:55 +0200 Subject: draw_text is now callable externally --- strategy.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'strategy.py') 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 -- cgit v1.2.3