AnimatedSprite class for Cocos2D and TexturePaker