diff options
Diffstat (limited to 'src/sliceitoff/game/game.py')
-rw-r--r-- | src/sliceitoff/game/game.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sliceitoff/game/game.py b/src/sliceitoff/game/game.py index 4a4722b..16c42b4 100644 --- a/src/sliceitoff/game/game.py +++ b/src/sliceitoff/game/game.py @@ -13,6 +13,9 @@ class Game: match event.key: case pygame.K_ESCAPE | pygame.K_q: return True + case pygame.K_SPACE: + if self.player.fire_lazer(): + return True case pygame.QUIT: return True case pygame.MOUSEMOTION: |