(
objectConfiguration: gdSpriteObject,
animationIndex: number
)
| 59 | }; |
| 60 | |
| 61 | const getAnimationNameAndResource = ( |
| 62 | objectConfiguration: gdSpriteObject, |
| 63 | animationIndex: number |
| 64 | ) => [ |
| 65 | objectConfiguration |
| 66 | .getAnimations() |
| 67 | .getAnimation(animationIndex) |
| 68 | .getName(), |
| 69 | objectConfiguration |
| 70 | .getAnimations() |
| 71 | .getAnimation(animationIndex) |
| 72 | .getDirection(0) |
| 73 | .getSprite(0) |
| 74 | .getImageName(), |
| 75 | ]; |
| 76 | |
| 77 | test('can copy asset animations', () => { |
| 78 | const { |
no test coverage detected