motion/joybox-osx/configuration/configuration.rb in joybox-0.0.6 vs motion/joybox-osx/configuration/configuration.rb in joybox-1.0.0
- old
+ new
@@ -14,10 +14,11 @@
def configure
director unless @is_director_configured
opengl_view unless @is_opengl_view_configured
+ debug unless @is_debug_configured
end
def director(*hash)
@@ -38,9 +39,19 @@
director = Director.sharedDirector
director.view = opengl_view
@is_opengl_view_configured = true
+ end
+
+
+ def debug(*hash)
+
+ hash = hash.pop
+
+ Debug.configure(hash)
+
+ @is_debug_configured = true
end
end
end