Sha256: 50c6cba7e3df716e7ee63074c06e0929408cae06e6d9e8ed102df4e0ff0d5175

Contents?: true

Size: 246 Bytes

Versions: 2

Compression:

Stored size: 246 Bytes

Contents

shared "Action Sprite" do
  before do
    @scene = Scene.new
    @layer = Layer.new
    @sprite = Sprite.new file_name: 'sprite.png', position: CGPointMake(5, 5)
    @scene << @layer
    @layer << @sprite 

    Joybox.director << @scene
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
joybox-1.1.1 spec/motion/joybox/actions/actions_spec.rb
joybox-1.1.0 spec/motion/joybox/actions/actions_spec.rb