im trying to set volume to my sound. this is my code in my actor class.
i got an error that i had to make an setVolume method, so i did, but it does not work.
private boolean setVolume()
{
if(Greenfoot.playSound("wav.wav"))
return true;
Greenfoot.setVolume(10);
if(Greenfoot.stop())
return false;
}

