Added untested animatedSprite class found elsewhere on github