Method: Gosu::Window#button_down?
- Defined in:
- lib/gosu_android/main-window.rb
#button_down?(id) ⇒ Boolean
Returns true if a button is currently pressed. Updated every tick.
219 220 221 |
# File 'lib/gosu_android/main-window.rb', line 219 def (id) return @input. id end |