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

- old
+ new

@@ -11,23 +11,18 @@ jumps: 1 } end def self.by(options = {}) - options = options.nil? ? defaults : defaults.merge!(options) - CCJumpBy.actionWithDuration(options[:duration], position: options[:position], height: options[:height], jumps: options[:jumps]) end - def self.to(options = {}) - options = options.nil? ? defaults : defaults.merge!(options) - CCJumpTo.actionWithDuration(options[:duration], position: options[:position], height: options[:height], jumps: options[:jumps]) end \ No newline at end of file