further progress with AnimatedSprite and its relation to ResourceManager, still incomplete