Add AnimatedSprite class