From 1def24341ce4f3ab1c1de4a9dde27bf0b5fab179 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 30 Mar 2024 16:08:03 +0200 Subject: bounching balls and more refactoring --- src/sliceitoff/status/__init__.py | 3 ++- src/sliceitoff/status/status.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/status') diff --git a/src/sliceitoff/status/__init__.py b/src/sliceitoff/status/__init__.py index 2a4c93e..68a41e1 100644 --- a/src/sliceitoff/status/__init__.py +++ b/src/sliceitoff/status/__init__.py @@ -1 +1,2 @@ -from .status import Status \ No newline at end of file +""" status - Statusline bottom of screen when level is going on """ +from .status import Status diff --git a/src/sliceitoff/status/status.py b/src/sliceitoff/status/status.py index bbe9a03..8a1a130 100644 --- a/src/sliceitoff/status/status.py +++ b/src/sliceitoff/status/status.py @@ -9,7 +9,7 @@ class Status(pygame.sprite.Group): super().__init__() self.stats = stats self.old_srt = None - + def update(self, **kwargs): """ Rebuilds statusline if needed """ super().update(**kwargs) -- cgit v1.2.3