# File lib/rubygame/deprecated_mixer.rb, line 543 def fading?( direction=nil ) case direction when :in return (SDL::Mixer.FadingMusic() == SDL::Mixer::FADING_IN) when :out return (SDL::Mixer.FadingMusic() == SDL::Mixer::FADING_OUT) else return (SDL::Mixer.FadingMusic() != SDL::Mixer::NO_FADING) end end