motion/joybox/joybox.rb in joybox-1.0.0 vs motion/joybox/joybox.rb in joybox-1.1.0

- old
+ new

@@ -5,13 +5,21 @@ include Joybox::Actions include Joybox::Animations include Joybox::UI include Joybox::Macros include Joybox::Physics - + include Joybox::Audio + + attr_accessor :random + module_function def director Director.sharedDirector + end + + def generate_seed + @random ||= Random.new + @random.rand(10...100) end end \ No newline at end of file