Added AnimatedSprite class