Commit 47a9a788 authored by MAhrens's avatar MAhrens
Browse files

Sound added

parent b294f980
......@@ -89,6 +89,7 @@ public class FrozenNumbersGame extends ApplicationAdapter {
// sounds
assets.load("snd/hit.mp3", Sound.class);
assets.load("snd/shot.mp3", Sound.class);
assets.load("snd/theme.ogg", Sound.class);
//assets.load("snd/load.wav", Sound.class);
assets.load("snd/pop.mp3", Sound.class);
......
......@@ -113,6 +113,10 @@ public class GameScreen implements Screen {
p1.timer = timerDefault;
p2.timer = timerDefault;
FrozenNumbersGame.assets.get("snd/theme.ogg", Sound.class).play();
}
@Override
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment