Sha256: 9ef69a6382c8f3b7833d03f853545cfcdcc7ad4b1cfd96b16cfe4e9ce35f0a8d
Contents?: true
Size: 318 Bytes
Versions: 2
Compression:
Stored size: 318 Bytes
Contents
module Joybox module Actions class Place def self.defaults { position: [0, 0] } end def self.in(options = {}) options = options.nil? ? defaults : defaults.merge!(options) CCPlace.actionWithPosition(options[:position]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.0.0 | motion/joybox/actions/place.rb |
joybox-0.0.6 | motion/joybox/actions/place.rb |