class Gosu::GosuSurfaceView
Public Instance Methods
atributes(window, input)
click to toggle source
# File lib/gosu_android/main-window.rb, line 38 def atributes(window, input) @window = window @input = input end
onTouchEvent(event)
click to toggle source
Calls superclass method
# File lib/gosu_android/main-window.rb, line 43 def onTouchEvent(event) super @input.feed_touch_event(event) return true end
onWindowFocusChanged(has_focus)
click to toggle source
Calls superclass method
# File lib/gosu_android/main-window.rb, line 49 def onWindowFocusChanged(has_focus) super if(@window) @window.focus_changed(has_focus, self.get_width, self.get_height) end return true end