add another ctor to AnimatedSprite for convenience and set up some code for loading textures