Changed the Sprite and SpriteEntity to work directly with the AnimationManager.