Sha256: 403d5b4698761a21fe3faabbecc3e67a0584a9c743f1eeb346192aa753545f85

Contents?: true

Size: 515 Bytes

Versions: 4

Compression:

Stored size: 515 Bytes

Contents

require File.join(File.dirname(__FILE__),'helper')
require 'actor_view'

describe 'A new actor view' do

  it 'should be layered 0/1 by default' do
    @test_me = ActorView.new :stage, Actor.new({})
    @test_me.layer.should == 0
    @test_me.parallax.should == 1
  end

  it 'should call setup on creation; tests that require subclassing seem wrong...'
  it 'should accept layered behavior params from actor'
  it 'should register for show/hide/remove events'
  it 'should manage a cached surface for drawing'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamebox-0.1.1 spec/actor_view_spec.rb
gamebox-0.1.0 spec/actor_view_spec.rb
gamebox-0.0.9 spec/actor_view_spec.rb
gamebox-0.0.8 spec/actor_view_spec.rb