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

- old
+ new

@@ -10,25 +10,16 @@ y: 0 } end def self.by(options = {}) - options = options.nil? ? defaults : defaults.merge!(options) - - CCSkewBy.actionWithDuration(options[:duration], - skewX: options[:x], - skewY: options[:y]) + CCSkewBy.actionWithDuration(options[:duration], skewX: options[:x], skewY: options[:y]) end - def self.to(options = {}) - options = options.nil? ? defaults : defaults.merge!(options) - - CCSkewTo.actionWithDuration(options[:duration], - skewX: options[:x], - skewY: options[:y]) + CCSkewTo.actionWithDuration(options[:duration], skewX: options[:x], skewY: options[:y]) end end end \ No newline at end of file