Method: Gosu::Song#pause

Defined in:
lib/gosu_android/audio/audio.rb

#pauseObject

Pauses playback of the song. It is not considered being played. currentSong will stay the same.



162
163
164
165
166
167
# File 'lib/gosu_android/audio/audio.rb', line 162

def pause
  if @player_ready
    @@media_player.pause
  end
  @playing = false
end