diff options
-rw-r--r-- | gui.py | 2 | ||||
-rw-r--r-- | strategy.py | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -172,7 +172,7 @@ def draw_cell(cell): # surface = draw_text(cell.name, (0, 0, 0), font_size) # screen.blit(surface, (cx - (surface.get_width()/2), cy + radius + 5)) - draw_text((cx, cy), str(int(cell.mass)), (255, 255, 255), font_size, False, True) + draw_text((cx, cy), str(int(cell.mass))+"/"+str(int(cell.size)), (255, 255, 255), font_size, False, True) # surface = draw_text(str(int(cell.mass)), (255, 255, 255), font_size) # screen.blit(surface, (cx - (surface.get_width()/2), cy - (surface.get_height()/2))) else: diff --git a/strategy.py b/strategy.py index da50f9a..d8efe4e 100644 --- a/strategy.py +++ b/strategy.py @@ -150,6 +150,4 @@ class Strategy: gui.draw_text(self.target, str(round(zipped[0][1], 2)), (0,0,0), draw_centered = True) - gui.draw_text(self.target, str(round(zipped[0][1], 2)), (0,0,0), draw_centered = True) - return self.target |