I have 6 worlds but i want the music to stop playing at the 6th one. But how do i do this?
this is my current code for music
public GreenfootSound testmusic = new GreenfootSound("Testmusic.mp3"); public Level2_1() { super(1280,736, 1); testmusic.playLoop(); }