private int GetVolume()
{
if (this.musicVolume)
{
return (int)MathHelper.Clamp((float)Math.Round(GameWorld.audio.MusicVolume * 10f), 0, 10);
}
else
{
return (int)MathHelper.Clamp((float)Math.Round(GameWorld.audio.SoundVolume * 10f), 0, 10);
}
}