Method: Gosu::Window#close

Defined in:
lib/gosu_android/main-window.rb

#closeObject

Tells the window to end the current show loop as soon as possible.



184
185
186
187
188
189
# File 'lib/gosu_android/main-window.rb', line 184

def close     
  #Self trigger window lost focus, since we are going to home
  focus_changed false, @screen_width, @screen_height
  @showing = false
  @activity.moveTaskToBack(true)
end