Skip to content

Commit

Permalink
Added documentation comment for the Rubygame::Events module.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacius committed Jun 19, 2008
1 parent 9d35bcd commit 034fa79
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lib/rubygame/events.rb
Expand Up @@ -20,6 +20,23 @@
#++ #++




module Rubygame

# The Events module contains classes representing various
# hardware events (e.g. keyboard presses, mouse clicks)
# and software events (e.g. clock tick, window becomes active)
#
# This event classes are meant as a full replacement for
# the older event classes defined in the Rubygame module
# (e.g. KeyDownEvent, QuitEvent). The old classes are
# deprecated and should not be used anymore.
#
module Events
end

end


# Load all the ruby files in events/ # Load all the ruby files in events/
glob = File.join( File.dirname(__FILE__), "events", "*.rb" ) glob = File.join( File.dirname(__FILE__), "events", "*.rb" )
Dir.glob( glob ).each do |path| Dir.glob( glob ).each do |path|
Expand Down

0 comments on commit 034fa79

Please sign in to comment.