summaryrefslogtreecommitdiff
path: root/src/sliceitoff/game/level.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-26 12:08:06 +0300
committerViljami Ilola <+@hix.fi>2024-04-26 12:08:06 +0300
commit54a17d969c85e150486e0960e90ab166e945c359 (patch)
treef76e57dddb2ad92fc043c48ea1bb118207b06c73 /src/sliceitoff/game/level.py
parent2d94bb60ff2fea09097d0e33dfd8b92aeef55531 (diff)
initial music
Diffstat (limited to 'src/sliceitoff/game/level.py')
-rw-r--r--src/sliceitoff/game/level.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sliceitoff/game/level.py b/src/sliceitoff/game/level.py
index c3713ce..9f3121f 100644
--- a/src/sliceitoff/game/level.py
+++ b/src/sliceitoff/game/level.py
@@ -6,6 +6,7 @@ from sliceitoff.player import Player, Life
from sliceitoff.field import Field
from sliceitoff.enemies import Enemies
from sliceitoff.screens import levelup_screen, gameover_screen, level_screen
+from sliceitoff.sfx import sfx
from .gameplay import Gameplay
from .show import Show
@@ -32,6 +33,8 @@ class Level(pygame.sprite.Group):
stats = self.stats,
life = self.life)
+ sfx.music("uhkapeli")
+
def update(self, dt = 0):
""" Updates groups, calls gameplay and adds sprites for drawing """
self.empty()