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

- old
+ new

@@ -11,17 +11,15 @@ end #TODO: Revisar esto, no estoy completamente seguro que deba de cambiar la implementacion # original (nombre del metodo) def self.forever(options = {}) - options = options.nil? ? defaults : defaults.merge!(options) CCRepeatForever.actionWithAction(options[:action]) end def self.with(options = {}) - options = options.nil? ? defaults : defaults.merge!(options) CCRepeat.actionWithAction(options[:action], times:options[:times]) end