diff options
Diffstat (limited to 'src/sliceitoff/game')
-rw-r--r-- | src/sliceitoff/game/gameplay.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sliceitoff/game/gameplay.py b/src/sliceitoff/game/gameplay.py index 49ff026..c756183 100644 --- a/src/sliceitoff/game/gameplay.py +++ b/src/sliceitoff/game/gameplay.py @@ -1,5 +1,6 @@ """ Reads user input and does actions when game play is on. """ import pygame +from sliceitoff.sfx import sfx class Gameplay: """ Logic of the playfield """ @@ -25,6 +26,7 @@ class Gameplay: if not zap_sprite: return False self.stats.add_score(-500) + sfx.play("laser") if pygame.sprite.spritecollideany(zap_sprite, self.enemies): self.life.lose_life() if self.stats.lose_life(): |