diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-26 12:08:06 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-26 12:08:06 +0300 |
commit | 54a17d969c85e150486e0960e90ab166e945c359 (patch) | |
tree | f76e57dddb2ad92fc043c48ea1bb118207b06c73 /src/sliceitoff/game/game.py | |
parent | 2d94bb60ff2fea09097d0e33dfd8b92aeef55531 (diff) |
initial music
Diffstat (limited to 'src/sliceitoff/game/game.py')
-rw-r--r-- | src/sliceitoff/game/game.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sliceitoff/game/game.py b/src/sliceitoff/game/game.py index a5009c5..c6a5fe0 100644 --- a/src/sliceitoff/game/game.py +++ b/src/sliceitoff/game/game.py @@ -47,6 +47,7 @@ class Game: def show_highscores(self): """ displays highscores and waits a key """ + sfx.music("pimpelipompeli") his = Show(hiscores_screen(str(self.hiscores))) while his.active: his.update(dt = self.clock.tick()) @@ -73,6 +74,7 @@ class Game: def mainmenu(self): """ menu where one select what to do """ + sfx.music("pimpelipompeli") menu = Mainmenu() while menu.active: menu.update(dt = self.clock.tick()) |