summaryrefslogtreecommitdiff
path: root/src/sliceitoff/game/show.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-30 13:04:39 +0200
committerViljami Ilola <+@hix.fi>2024-03-30 13:04:39 +0200
commitacfac65f17a274d6d7f73cb44ed9476032241134 (patch)
tree0ef93c0d81171a6be751e3edd8d4a029f1095fcc /src/sliceitoff/game/show.py
parent607c00bc57fb68572754404cb5da0e7f7a5618e5 (diff)
lint, refactor, doc, repeat
Diffstat (limited to 'src/sliceitoff/game/show.py')
-rw-r--r--src/sliceitoff/game/show.py4
1 files changed, 2 insertions, 2 deletions
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 []