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

- old
+ new

@@ -9,23 +9,18 @@ color: Common::Color.from_rgb(1, 1, 1) } end def self.by(options = {}) - options = options.nil? ? defaults : defaults.merge!(options) - CCTintBy.actionWithDuration(options[:duration], red: options[:color].red, green: options[:color].green, blue: options[:color].blue) end - def self.to(options = {}) - options = options.nil? ? defaults : defaults.merge!(options) - CCTintTo.actionWithDuration(options[:duration], red: options[:color].red, green: options[:color].green, blue: options[:color].blue) end \ No newline at end of file