From acfac65f17a274d6d7f73cb44ed9476032241134 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 30 Mar 2024 13:04:39 +0200 Subject: lint, refactor, doc, repeat --- src/sliceitoff/game/show.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/game/show.py') diff --git a/src/sliceitoff/game/show.py b/src/sliceitoff/game/show.py index b9b684b..94e2540 100644 --- a/src/sliceitoff/game/show.py +++ b/src/sliceitoff/game/show.py @@ -11,7 +11,7 @@ class Show(pygame.sprite.Group): self.explode = False self.fadeout = 1_000 self.timeout = 15_000 - + def update(self, dt = 0, **kwargs): """ First timeout then fadeout and then inactivity """ super().update(dt = dt, explode = self.explode, **kwargs) @@ -29,4 +29,4 @@ class Show(pygame.sprite.Group): def sprites(self): """ Return sprites only when active """ - return super().sprites() if self.active else [] \ No newline at end of file + return super().sprites() if self.active else [] -- cgit v1.2.3