diff options
Diffstat (limited to 'src/sliceitoff/status/status.py')
-rw-r--r-- | src/sliceitoff/status/status.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sliceitoff/status/status.py b/src/sliceitoff/status/status.py index ed36711..b2bde21 100644 --- a/src/sliceitoff/status/status.py +++ b/src/sliceitoff/status/status.py @@ -2,7 +2,7 @@ import os import pygame from display import Scaling -from images import images +from images import Images class LetterSprite(pygame.sprite.Sprite): def __init__(self, image, pos): @@ -21,11 +21,11 @@ class Status(): def __update_sprites(self): self.sprites.empty() - y = 28000 + y = 28_000 score_str="{:010d}".format(self.score) - for letter, x in zip(score_str, range(30000,40000,1000)): + for letter, x in zip(score_str, range(30_000,40_000,1_000)): self.sprites.add(LetterSprite( - images[f"letter_{letter}"], + Images.surfaces[f"letter_{letter}"], Scaling.scale_coordinates((x,y)) )) self.updated = False |