# File lib/author_engine/game/gosu/parts/input.rb, line 12 def button?(name) down = false if BUTTONS.dig(name) down = Gosu.button_down?(BUTTONS.dig(name)) else raise "Button '#{name}' not found!" end return down end