From 54a17d969c85e150486e0960e90ab166e945c359 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Fri, 26 Apr 2024 12:08:06 +0300 Subject: initial music --- src/sliceitoff/game/level.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/sliceitoff/game/level.py') 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() -- cgit v1.2.3