Sha256: 311a8054b50b7c3a512defc76368c0611aa99fcea4f4f0823c7544c0aa4f6847

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

module Joybox
  module Actions

    class Sequence

      def self.defaults
        {
          items: []
        }
      end

      def self.new(options = {})

        options = options.nil? ? defaults : defaults.merge!(options)

        CCSequence.actionsWithArray(options[:items])
      end
      
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
joybox-0.0.5 lib/joybox/cocos2d/actions/sequence.rb
joybox-0.0.4 lib/joybox/cocos2d/actions/sequence.rb
joybox-0.0.3 lib/joybox/cocos2d/actions/sequence.rb