samples/rubygame_app.rb in rubygoo-0.0.3 vs samples/rubygame_app.rb in rubygoo-0.0.4

- old
+ new

@@ -1,10 +1,11 @@ require 'rubygems' $: << './lib' require 'rubygoo' require 'rubygame' include Rubygame +include Rubygoo def create_gui(renderer) app = App.new :renderer => renderer label = Label.new "click the button to set the time", :x=>20, :y=>30 @@ -60,9 +61,10 @@ end if $0 == __FILE__ screen = Screen.new [600,480] + screen.show_cursor = false factory = AdapterFactory.new render_adapter = factory.renderer_for :rubygame, screen app = create_gui(render_adapter) app_adapter = factory.app_for :rubygame, app