mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
A couple other minor tweaks to a test suite.
This commit is contained in:
parent
cc7c65115c
commit
2183b7dac1
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ describe 'SingularSprite', ->
|
||||||
}
|
}
|
||||||
createjs.Ticker.addEventListener "tick", listener
|
createjs.Ticker.addEventListener "tick", listener
|
||||||
|
|
||||||
describe 'with Ogre Munchkin ThangType and spriteType=spriteSheet', ->
|
describe 'with Ogre Munchkin ThangType', ->
|
||||||
beforeEach ->
|
beforeEach ->
|
||||||
layer = new LayerAdapter()
|
layer = new LayerAdapter()
|
||||||
layer.buildAutomatically = false
|
layer.buildAutomatically = false
|
||||||
|
@ -43,6 +43,6 @@ describe 'SingularSprite', ->
|
||||||
afterEach ->
|
afterEach ->
|
||||||
ogreMunchkinThangType.revert()
|
ogreMunchkinThangType.revert()
|
||||||
|
|
||||||
it 'has the same interface as for when the ThangType uses the container spriteType', ->
|
it 'has the same interface as Sprite for animation', ->
|
||||||
singularSprite.gotoAndPlay('move_fore')
|
singularSprite.gotoAndPlay('move_fore')
|
||||||
singularSprite.gotoAndStop('attack')
|
singularSprite.gotoAndStop('attack')
|
||||||
|
|
Loading…
Reference in a new issue