Sha256: 14081f3a58f6ef25987b3ac62027f41ff2f8f5dfee0dfb12a240d5bae7904019
Contents?: true
Size: 382 Bytes
Versions: 4
Compression:
Stored size: 382 Bytes
Contents
$:.unshift File.expand_path(File.dirname(__FILE__) + "/../../lib") $:.unshift File.expand_path(File.dirname(__FILE__) + "/../../ext") require 'ray' Ray::Game.new("Hello world!") do register do add_hook :quit, method(:exit!) end scene :hello do @text = text "Hello world!", :size => 30 render do |win| win.draw @text end end scenes << :hello end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ray-0.2.1 | samples/hello_world/hello_dsl.rb |
ray-0.2.0 | samples/hello_world/hello_dsl.rb |
ray-0.1.1 | samples/hello_world/hello_dsl.rb |
ray-0.1.0 | samples/hello_world/hello_dsl.rb |