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

- old
+ new

@@ -7,11 +7,10 @@ alias_method :pop_to_root_scene, :popToRootScene alias_method :replace_scene, :replaceScene alias_method :stop_animation, :stopAnimation alias_method :start_animation, :startAnimation alias_method :purge_cached_data, :purgeCachedData - alias_method :set_next_delta_time_zero, :setNextDeltaTimeZero alias_method :set_full_screen, :setFullScreen alias_method :is_full_screen, :isFullScreen def self.default_configuration { @@ -24,19 +23,21 @@ def self.configure(options = {}) options = options.nil? ? default_configuration : default_configuration.merge!(options) director = Director.sharedDirector - director.displayStats = options[:display_stats] director.animationInterval = options[:animation_interval] director.resizeMode = options[:resize_mode] director.delegate = options[:delegate] end - def << (scene) self.push_scene(scene) + end + + def set_next_delta_time_zero(delta_time_zero) + setNextDeltaTimeZero(delta_time_zero) end end end \ No newline at end of file