Method: Gosu::Window#needs_redraw?

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

#needs_redraw?Boolean

Can be overriden to give the game a chance to say no to being redrawn. This is not a definitive answer. The operating system can still cause redraws for one reason or another.

By default, the window is redrawn all the time (i.e. Window#needs_redraw? always returns true.)

Returns:

  • (Boolean)


205
# File 'lib/gosu_android/main-window.rb', line 205

def needs_redraw?; end