# File lib/rubygame/event_handler.rb, line 67 def initialize(&block) @hooks = [] yield self if block_given? end