diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-18 18:03:14 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-18 18:03:14 +0200 |
commit | 1abc1581137fe968fb94f89810ac8563afbfd800 (patch) | |
tree | ff535023e1aeca12a87a04ed32a9b788313813d1 /gui.py | |
parent | 7c2dce0c669fdf695c4b1a637f9d46232154d9b9 (diff) |
show mass/size on cells
Diffstat (limited to 'gui.py')
-rw-r--r-- | gui.py | 2 |
1 files changed, 1 insertions, 1 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: |