Skip to content

Commit

Permalink
v2.1.4: fixed mining level not properly setting its music
Browse files Browse the repository at this point in the history
  • Loading branch information
00-Evan committed Jul 6, 2023
1 parent 769d6e2 commit 8a4a1b2
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import com.watabou.noosa.Group;
import com.watabou.noosa.Image;
import com.watabou.noosa.Tilemap;
import com.watabou.noosa.audio.Music;

public class MiningLevel extends Level {

Expand All @@ -46,6 +47,14 @@ public class MiningLevel extends Level {
color2 = 0xb9d661;
}

@Override
public void playLevelMusic() {
Music.INSTANCE.playTracks(
new String[]{Assets.Music.CAVES_1, Assets.Music.CAVES_2, Assets.Music.CAVES_2},
new float[]{1, 1, 0.5f},
false);
}

@Override
public String tilesTex() {
return Assets.Environment.TILES_CAVES;
Expand Down

0 comments on commit 8a4a1b2

Please sign in to comment.