# File lib/rubygame/music.rb, line 362 def fading?( direction=:either ) return false unless current? case direction when :in SDL::Mixer.FadingMusic() == SDL::Mixer::FADING_IN when :out SDL::Mixer.FadingMusic() == SDL::Mixer::FADING_OUT else SDL::Mixer.FadingMusic() != SDL::Mixer::NO_FADING end end