Sha256: caed0c7af5b82f549233685e8fab43a3318d1c52503ac74ddcc8225763455d06
Contents?: true
Size: 533 Bytes
Versions: 2
Compression:
Stored size: 533 Bytes
Contents
module Joybox module Actions module D3 class Flip def self.defaults { duration: 0.3 } end def self.x(options = {}) options = options.nil? ? defaults : defaults.merge!(options) CCFlipX3D.actionWithDuration(options[:duration]) end def self.y(options = {}) options = options.nil? ? defaults : defaults.merge!(options) CCFlipY3D.actionWithDuration(options[:duration]) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.1.1 | motion/joybox/actions/d3/flip.rb |
joybox-1.1.0 | motion/joybox/actions/d3/flip.rb |